Class AbstractConditionalEventDefinitionBuilder<B extends AbstractConditionalEventDefinitionBuilder<B>>
- java.lang.Object
-
- org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractRootElementBuilder<B,ConditionalEventDefinition>
-
- org.camunda.bpm.model.bpmn.builder.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
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACE
-
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
-
-
Constructor Summary
Constructors Constructor Description AbstractConditionalEventDefinitionBuilder(BpmnModelInstance modelInstance, ConditionalEventDefinition element, java.lang.Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
camundaVariableEvents(java.lang.String variableEvents)
Set the camunda variable events attribute, that defines the variable event on which the condition should be evaluated.B
camundaVariableEvents(java.util.List<java.lang.String> variableEvents)
Set the camunda variable events attribute, that defines the variable event on which the condition should be evaluated.B
camundaVariableName(java.lang.String variableName)
Sets the camunda variable name attribute, that defines on which variable the condition should be evaluated.B
condition(java.lang.String conditionText)
Sets the condition of the conditional event definition.<T extends AbstractFlowNodeBuilder>
TconditionalEventDefinitionDone()
Finishes the building of a conditional event definition.-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, createTimeCycle, createTimeDate, createTimeDuration, documentation, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
-
-
-
Constructor Detail
-
AbstractConditionalEventDefinitionBuilder
public AbstractConditionalEventDefinitionBuilder(BpmnModelInstance modelInstance, ConditionalEventDefinition element, java.lang.Class<?> selfType)
-
-
Method Detail
-
condition
public B condition(java.lang.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(java.lang.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(java.lang.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(java.util.List<java.lang.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
-
-