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 Details

    • conditionAsString

      protected String conditionAsString
    • condition

      protected final Condition condition
    • interrupting

      protected boolean interrupting
    • variableName

      protected String variableName
    • variableEvents

      protected Set<String> variableEvents
    • conditionalActivity

      protected ActivityImpl conditionalActivity
  • Constructor Details

    • ConditionalEventDefinition

      public ConditionalEventDefinition(Condition condition, ActivityImpl conditionalActivity)
  • Method Details

    • getConditionalActivity

      public ActivityImpl getConditionalActivity()
    • setConditionalActivity

      public void setConditionalActivity(ActivityImpl conditionalActivity)
    • 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)
    • getConditionAsString

      public String getConditionAsString()
    • setConditionAsString

      public void setConditionAsString(String conditionAsString)
    • 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)