public class TimerWithinGuardFactory extends java.lang.Object implements GuardFactory, MetaDefItem, java.io.Serializable
TimerWithinGuard
instances.Constructor and Description |
---|
TimerWithinGuardFactory() |
Modifier and Type | Method and Description |
---|---|
Guard |
makeGuard(PatternAgentInstanceContext context,
MatchedEventMap matchedEventMap,
Quitable quitable,
EvalStateNodeNumber stateNodeId,
java.lang.Object guardState)
Constructs a guard instance.
|
void |
setGuardParameters(java.util.List<ExprNode> parameters,
MatchedEventConvertor convertor)
Sets the guard object parameters.
|
public void setGuardParameters(java.util.List<ExprNode> parameters, MatchedEventConvertor convertor) throws GuardParameterException
GuardFactory
setGuardParameters
in interface GuardFactory
parameters
- is a list of parametersconvertor
- for converting aGuardParameterException
- thrown to indicate a parameter problempublic Guard makeGuard(PatternAgentInstanceContext context, MatchedEventMap matchedEventMap, Quitable quitable, EvalStateNodeNumber stateNodeId, java.lang.Object guardState)
GuardFactory
makeGuard
in interface GuardFactory
context
- - services for use by guardmatchedEventMap
- - the prior matching eventsquitable
- - to use for indicating the guard has quitstateNodeId
- - a node id for the state objectguardState
- - state node for guard