org.apache.shale.dialog.basic.config
Class ActionStateImpl

java.lang.Object
  extended by org.apache.shale.dialog.basic.config.AbstractState
      extended by org.apache.shale.dialog.basic.config.ActionStateImpl
All Implemented Interfaces:
ActionState, State

public final class ActionStateImpl
extends AbstractState
implements ActionState

ActionStateImpl is a basic implementation of ActionState.

Since:
1.0.4

Constructor Summary
ActionStateImpl()
           
 
Method Summary
 String getMethod()
          

Return the method binding expression specifying the method to be invoked when this State is entered.

 void setMethod(String method)
          Set the method binding expression specifying the method to be invoked when this State is entered.
 String toString()
          Render a printable version of this instance.
 
Methods inherited from class org.apache.shale.dialog.basic.config.AbstractState
addTransition, findTransition, getDialog, getName, getTransitionOutcomes, removeTransition, setDialog, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.shale.dialog.basic.model.State
findTransition, getDialog, getName, getTransitionOutcomes
 

Constructor Detail

ActionStateImpl

public ActionStateImpl()
Method Detail

getMethod

public String getMethod()

Return the method binding expression specifying the method to be invoked when this State is entered.

Specified by:
getMethod in interface ActionState
Returns:
The method binding expression to be invoked

toString

public String toString()

Render a printable version of this instance.

Overrides:
toString in class Object
Returns:
The printable version of this instance

setMethod

public void setMethod(String method)

Set the method binding expression specifying the method to be invoked when this State is entered.

Parameters:
method - The new method binding expression


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.