|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.openai.util.fsm.Condition | +--net.openai.util.fsm.AnyCondition
This condition will be satisfield by any condition that is passed in. It is designed to be a "catch all" condition - usually put at the end of the list of conditions on the state or perhaps the only condition for a given transition from one state to another.
Constructor Summary | |
AnyCondition()
Constructs an AnyCondition instance. |
|
AnyCondition(State targetState)
Constructs an AnyCondition with the target state. |
Method Summary | |
boolean |
satisfiedBy(java.lang.Object conditional)
Called to check if the conditional meets the criteria defined by this state. |
Methods inherited from class net.openai.util.fsm.Condition |
getSourceStates, getTargetState, setTargetState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AnyCondition()
public AnyCondition(State targetState)
targetState
- The target state for this AnyCondition.Method Detail |
public final boolean satisfiedBy(java.lang.Object conditional)
satisfiedBy
in class Condition
conditional
- The object to check.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |