public interface GuardFactory
Guard
instances.Modifier and Type | Method and Description |
---|---|
Guard |
makeGuard(PatternAgentInstanceContext context,
MatchedEventMap beginState,
Quitable quitable,
EvalStateNodeNumber stateNodeId,
Object guardState)
Constructs a guard instance.
|
void |
setGuardParameters(List<ExprNode> guardParameters,
MatchedEventConvertor convertor)
Sets the guard object parameters.
|
void setGuardParameters(List<ExprNode> guardParameters, MatchedEventConvertor convertor) throws GuardParameterException
guardParameters
- is a list of parametersconvertor
- for converting aGuardParameterException
- thrown to indicate a parameter problemGuard makeGuard(PatternAgentInstanceContext context, MatchedEventMap beginState, Quitable quitable, EvalStateNodeNumber stateNodeId, Object guardState)
context
- - services for use by guardbeginState
- - the prior matching eventsquitable
- - to use for indicating the guard has quitstateNodeId
- - a node id for the state objectguardState
- - state node for guard