public final class EvalEveryStateSpawnEvaluator extends Object implements Evaluator
Constructor and Description |
---|
EvalEveryStateSpawnEvaluator(String statementName) |
Modifier and Type | Method and Description |
---|---|
void |
evaluateFalse(EvalStateNode fromNode,
boolean restartable)
Indicate a change in truth value to false.
|
void |
evaluateTrue(MatchedEventMap matchEvent,
EvalStateNode fromNode,
boolean isQuitted)
Indicate a change in truth value to true.
|
boolean |
isEvaluatedTrue() |
boolean |
isFilterChildNonQuitting() |
public EvalEveryStateSpawnEvaluator(String statementName)
public final boolean isEvaluatedTrue()
public final void evaluateTrue(MatchedEventMap matchEvent, EvalStateNode fromNode, boolean isQuitted)
Evaluator
evaluateTrue
in interface Evaluator
matchEvent
- is the container for events that caused the change in truth valuefromNode
- is the node that indicates the changeisQuitted
- is an indication of whether the node continues listenening or stops listeningpublic final void evaluateFalse(EvalStateNode fromNode, boolean restartable)
Evaluator
evaluateFalse
in interface Evaluator
fromNode
- is the node that indicates the changerestartable
- whether the evaluator can be restartedpublic boolean isFilterChildNonQuitting()
isFilterChildNonQuitting
in interface Evaluator