public abstract class EvalStateNode extends Object
Constructor and Description |
---|
EvalStateNode(Evaluator parentNode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
accept(EvalStateNodeVisitor visitor)
Accept a visitor.
|
abstract EvalNode |
getFactoryNode()
Returns the factory node for the state node.
|
Evaluator |
getParentEvaluator()
Returns the parent evaluator.
|
abstract boolean |
isFilterStateNode() |
abstract boolean |
isNotOperator() |
abstract boolean |
isObserverStateNodeNonRestarting() |
abstract void |
quit()
Stops the event expression or an instance of it.
|
abstract void |
removeMatch(Set<EventBean> matchEvent)
Remove matches that overlap with the provided events.
|
void |
setParentEvaluator(Evaluator parentEvaluator)
Sets the parent evaluator.
|
abstract void |
start(MatchedEventMap beginState)
Starts the event expression or an instance of it.
|
public EvalStateNode(Evaluator parentNode)
parentNode
- is the evaluator for this node on which to indicate a change in truth valuepublic abstract void start(MatchedEventMap beginState)
beginState
- begin statepublic abstract void quit()
public abstract void accept(EvalStateNodeVisitor visitor)
visitor
- on which the visit method is invoked by each nodepublic abstract EvalNode getFactoryNode()
public abstract boolean isNotOperator()
public abstract boolean isFilterStateNode()
public abstract boolean isObserverStateNodeNonRestarting()
public abstract void removeMatch(Set<EventBean> matchEvent)
matchEvent
- set of events to check forpublic final Evaluator getParentEvaluator()
public final void setParentEvaluator(Evaluator parentEvaluator)
parentEvaluator
- for this node