Class AbstractConditionalEventDefinitionBuilder<B extends AbstractConditionalEventDefinitionBuilder<B>>

Type Parameters:
B -
Direct Known Subclasses:
ConditionalEventDefinitionBuilder

public class AbstractConditionalEventDefinitionBuilder<B extends AbstractConditionalEventDefinitionBuilder<B>> extends AbstractRootElementBuilder<B,ConditionalEventDefinition>
Represents the abstract conditional event definition builder.
Author:
Christopher Zell <christopher.zell@camunda.com>
  • Constructor Details

  • Method Details

    • condition

      public B condition(String conditionText)
      Sets the condition of the conditional event definition.
      Parameters:
      conditionText - the condition which should be evaluate to true or false
      Returns:
      the builder object
    • camundaVariableName

      public B camundaVariableName(String variableName)
      Sets the camunda variable name attribute, that defines on which variable the condition should be evaluated.
      Parameters:
      variableName - the variable on which the condition should be evaluated
      Returns:
      the builder object
    • camundaVariableEvents

      public B camundaVariableEvents(String variableEvents)
      Set the camunda variable events attribute, that defines the variable event on which the condition should be evaluated.
      Parameters:
      variableEvents - the events on which the condition should be evaluated
      Returns:
      the builder object
    • camundaVariableEvents

      public B camundaVariableEvents(List<String> variableEvents)
      Set the camunda variable events attribute, that defines the variable event on which the condition should be evaluated.
      Parameters:
      variableEvents - the events on which the condition should be evaluated
      Returns:
      the builder object
    • conditionalEventDefinitionDone

      public <T extends AbstractFlowNodeBuilder> T conditionalEventDefinitionDone()
      Finishes the building of a conditional event definition.
      Type Parameters:
      T -
      Returns:
      the parent event builder