Class AbstractConditionalEventDefinitionBuilder<B extends AbstractConditionalEventDefinitionBuilder<B>>
java.lang.Object
org.operaton.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,ConditionalEventDefinition>
org.operaton.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,ConditionalEventDefinition>
org.operaton.bpm.model.bpmn.builder.AbstractRootElementBuilder<B,ConditionalEventDefinition>
org.operaton.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 invalid input: '<'christopher.zell@camunda.com>
-
Field Summary
Fields inherited from class org.operaton.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACEFields inherited from class org.operaton.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself -
Constructor Summary
ConstructorsConstructorDescriptionAbstractConditionalEventDefinitionBuilder(BpmnModelInstance modelInstance, ConditionalEventDefinition element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionSets the condition of the conditional event definition.<T extends AbstractFlowNodeBuilder>
TFinishes the building of a conditional event definition.operatonVariableEvents(String variableEvents) Set the operaton variable events attribute, that defines the variable event on which the condition should be evaluated.operatonVariableEvents(List<String> variableEvents) Set the operaton variable events attribute, that defines the variable event on which the condition should be evaluated.operatonVariableName(String variableName) Sets the operaton variable name attribute, that defines on which variable the condition should be evaluated.Methods inherited from class org.operaton.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, setWaypointsWithSourceAndTargetMethods inherited from class org.operaton.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
-
operatonVariableName
Sets the operaton 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
-
operatonVariableEvents
Set the operaton 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
-
operatonVariableEvents
Set the operaton 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
-