public class ConditionalEventDefinition extends EventSubscriptionDeclaration implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Condition |
condition |
protected ActivityImpl |
conditionalActivity |
protected boolean |
interrupting |
protected Set<String> |
variableEvents |
protected String |
variableName |
activityId, async, eventName, eventScopeActivityId, eventType, isStartEvent, jobDeclaration
Constructor and Description |
---|
ConditionalEventDefinition(Condition condition,
ActivityImpl conditionalActivity) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(DelegateExecution execution) |
ActivityImpl |
getConditionalActivity() |
Set<String> |
getVariableEvents() |
String |
getVariableName() |
boolean |
isInterrupting() |
void |
setConditionalActivity(ActivityImpl conditionalActivity) |
void |
setInterrupting(boolean interrupting) |
void |
setVariableEvents(Set<String> variableEvents) |
void |
setVariableName(String variableName) |
boolean |
shouldEvaluateForVariableEvent(VariableEvent event) |
boolean |
tryEvaluate(DelegateExecution execution) |
boolean |
tryEvaluate(VariableEvent variableEvent,
DelegateExecution execution) |
createSubscriptionForExecution, createSubscriptionForStartEvent, getActivityId, getDeclarationsForScope, getEventScopeActivityId, getEventType, getUnresolvedEventName, hasEventName, isAsync, isEventNameLiteralText, isExpressionAvailable, isStartEvent, resolveExpressionOfEventName, setActivityId, setAsync, setEventScopeActivityId, setJobDeclaration, setStartEvent, updateSubscription
protected final Condition condition
protected boolean interrupting
protected String variableName
protected ActivityImpl conditionalActivity
public ConditionalEventDefinition(Condition condition, ActivityImpl conditionalActivity)
public ActivityImpl getConditionalActivity()
public void setConditionalActivity(ActivityImpl conditionalActivity)
public boolean isInterrupting()
public void setInterrupting(boolean interrupting)
public String getVariableName()
public void setVariableName(String variableName)
public boolean shouldEvaluateForVariableEvent(VariableEvent event)
public boolean evaluate(DelegateExecution execution)
public boolean tryEvaluate(DelegateExecution execution)
public boolean tryEvaluate(VariableEvent variableEvent, DelegateExecution execution)
Copyright © 2018. All rights reserved.