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 <christopher.zell@camunda.com>
-
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
ConstructorDescriptionAbstractConditionalEventDefinitionBuilder
(BpmnModelInstance modelInstance, ConditionalEventDefinition element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptioncamundaVariableEvents
(String variableEvents) Set the camunda variable events attribute, that defines the variable event on which the condition should be evaluated.camundaVariableEvents
(List<String> variableEvents) Set the camunda variable events attribute, that defines the variable event on which the condition should be evaluated.camundaVariableName
(String variableName) Sets the camunda variable name attribute, that defines on which variable the condition should be evaluated.Sets the condition of the conditional event definition.<T extends AbstractFlowNodeBuilder>
TFinishes 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 Details
-
AbstractConditionalEventDefinitionBuilder
public AbstractConditionalEventDefinitionBuilder(BpmnModelInstance modelInstance, ConditionalEventDefinition element, Class<?> selfType)
-
-
Method Details
-
condition
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
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
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
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
Finishes the building of a conditional event definition.- Type Parameters:
T
-- Returns:
- the parent event builder
-