org.camunda.bpm.engine.impl.bpmn.parser
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
- See Also:
- Serialized Form
| Methods inherited from class org.camunda.bpm.engine.impl.bpmn.parser.EventSubscriptionDeclaration |
createSubscriptionForExecution, createSubscriptionForStartEvent, getActivityId, getDeclarationsForScope, getEventScopeActivityId, getEventType, getUnresolvedEventName, hasEventName, isAsync, isEventNameLiteralText, isExpressionAvailable, isStartEvent, resolveExpressionOfEventName, setActivityId, setAsync, setEventScopeActivityId, setJobDeclaration, setStartEvent, updateSubscription |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
condition
protected final Condition condition
interrupting
protected boolean interrupting
variableName
protected String variableName
variableEvents
protected Set<String> variableEvents
ConditionalEventDefinition
public ConditionalEventDefinition(Condition condition,
String activityId)
getConditionalExpression
public Condition getConditionalExpression()
isInterrupting
public boolean isInterrupting()
setInterrupting
public void setInterrupting(boolean interrupting)
getVariableName
public String getVariableName()
setVariableName
public void setVariableName(String variableName)
getVariableEvents
public Set<String> getVariableEvents()
setVariableEvents
public void setVariableEvents(Set<String> variableEvents)
shouldEvaluateForVariableEvent
public boolean shouldEvaluateForVariableEvent(VariableEvent event)
evaluate
public boolean evaluate(DelegateExecution execution)
tryEvaluate
public boolean tryEvaluate(DelegateExecution execution)
tryEvaluate
public boolean tryEvaluate(VariableEvent variableEvent,
DelegateExecution execution)
Copyright © 2016 camunda services GmbH. All rights reserved.