Class ConditionalEventDefinition
java.lang.Object
org.camunda.bpm.engine.impl.bpmn.parser.EventSubscriptionDeclaration
org.camunda.bpm.engine.impl.bpmn.parser.ConditionalEventDefinition
- All Implemented Interfaces:
Serializable
public class ConditionalEventDefinition
extends EventSubscriptionDeclaration
implements Serializable
Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
- Author:
- Christopher Zell <christopher.zell@camunda.com>
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Condition
protected ActivityImpl
protected String
protected boolean
protected String
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.parser.EventSubscriptionDeclaration
activityId, async, eventName, eventPayload, eventScopeActivityId, eventType, isStartEvent, jobDeclaration
-
Constructor Summary
ConstructorDescriptionConditionalEventDefinition
(Condition condition, ActivityImpl conditionalActivity) -
Method Summary
Modifier and TypeMethodDescriptionboolean
evaluate
(DelegateExecution execution) boolean
void
setConditionalActivity
(ActivityImpl conditionalActivity) void
setConditionAsString
(String conditionAsString) void
setInterrupting
(boolean interrupting) void
setVariableEvents
(Set<String> variableEvents) void
setVariableName
(String variableName) boolean
boolean
tryEvaluate
(DelegateExecution execution) boolean
tryEvaluate
(VariableEvent variableEvent, DelegateExecution execution) Methods inherited from class org.camunda.bpm.engine.impl.bpmn.parser.EventSubscriptionDeclaration
createSubscriptionForExecution, createSubscriptionForStartEvent, getActivityId, getDeclarationsForScope, getEventPayload, getEventScopeActivityId, getEventType, getUnresolvedEventName, hasEventName, isAsync, isEventNameLiteralText, isExpressionAvailable, isStartEvent, resolveExpressionOfEventName, setActivityId, setAsync, setEventScopeActivityId, setJobDeclaration, setStartEvent, updateSubscription
-
Field Details
-
conditionAsString
-
condition
-
interrupting
protected boolean interrupting -
variableName
-
variableEvents
-
conditionalActivity
-
-
Constructor Details
-
ConditionalEventDefinition
-
-
Method Details
-
getConditionalActivity
-
setConditionalActivity
-
isInterrupting
public boolean isInterrupting() -
setInterrupting
public void setInterrupting(boolean interrupting) -
getVariableName
-
setVariableName
-
getVariableEvents
-
setVariableEvents
-
getConditionAsString
-
setConditionAsString
-
shouldEvaluateForVariableEvent
-
evaluate
-
tryEvaluate
-
tryEvaluate
-