com.googlecode.sarasvati.impl
Class AcceptTokenGuardResult
java.lang.Object
com.googlecode.sarasvati.impl.AcceptTokenGuardResult
- All Implemented Interfaces:
- GuardResult
public final class AcceptTokenGuardResult
- extends Object
- implements GuardResult
INSTANCE
public static final GuardResult INSTANCE
getExitArcForSkip
public String getExitArcForSkip()
- Description copied from interface:
GuardResult
- If
GuardAction.SkipNode
is returned from Node.guard(Engine, NodeToken)
,
it may indicate an arc name other than the default on which to exit. This can be useful
for decision logic.
- Specified by:
getExitArcForSkip
in interface GuardResult
- Returns:
- The name of the arc or arcs on which to exit this node.
getGuardAction
public GuardAction getGuardAction()
- Description copied from interface:
GuardResult
- Indicates which
GuardAction
has been selected.
- Specified by:
getGuardAction
in interface GuardResult
- Returns:
- The
GuardAction
selected.
toString
public String toString()
- Overrides:
toString
in class Object