public class OutputConditionExpression extends OutputConditionBase implements OutputCondition, VariableChangeCallback, StopCallback
outputCallback
Constructor and Description |
---|
OutputConditionExpression(OutputCallback outputCallback,
AgentInstanceContext agentInstanceContext,
OutputConditionExpressionFactory parent,
boolean isStartConditionOnCreation) |
Modifier and Type | Method and Description |
---|---|
void |
stop()
Stops the underlying resources.
|
void |
terminated() |
void |
update(Object newValue,
Object oldValue)
Indicate a change in variable value.
|
void |
updateOutputCondition(int newEventsCount,
int oldEventsCount)
Update the output condition.
|
public OutputConditionExpression(OutputCallback outputCallback, AgentInstanceContext agentInstanceContext, OutputConditionExpressionFactory parent, boolean isStartConditionOnCreation)
public void updateOutputCondition(int newEventsCount, int oldEventsCount)
OutputCondition
updateOutputCondition
in interface OutputCondition
newEventsCount
- - number of new events incomingoldEventsCount
- - number of old events incomingpublic void update(Object newValue, Object oldValue)
VariableChangeCallback
update
in interface VariableChangeCallback
newValue
- new valueoldValue
- old valuepublic void stop()
StopCallback
stop
in interface OutputCondition
stop
in interface StopCallback
public void terminated()
terminated
in interface OutputCondition
terminated
in class OutputConditionBase