B
- public class AbstractConditionalEventDefinitionBuilder<B extends AbstractConditionalEventDefinitionBuilder<B>> extends AbstractRootElementBuilder<B,ConditionalEventDefinition>
SPACE
element, modelInstance, myself
Constructor and Description |
---|
AbstractConditionalEventDefinitionBuilder(BpmnModelInstance modelInstance,
ConditionalEventDefinition element,
Class<?> selfType) |
Modifier and Type | Method and Description |
---|---|
B |
camundaVariableEvents(List<String> variableEvents)
Set the camunda variable events attribute, that defines the variable
event on which the condition should be evaluated.
|
B |
camundaVariableEvents(String variableEvents)
Set the camunda variable events attribute, that defines the variable
event on which the condition should be evaluated.
|
B |
camundaVariableName(String variableName)
Sets the camunda variable name attribute, that defines on
which variable the condition should be evaluated.
|
B |
condition(String conditionText)
Sets the condition of the conditional event definition.
|
<T extends AbstractFlowNodeBuilder> |
conditionalEventDefinitionDone()
Finishes the building of a conditional event definition.
|
addExtensionElement, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeSubProcess, setCoordinates, setWaypoints
done, getElement, subProcessDone, transactionDone
public AbstractConditionalEventDefinitionBuilder(BpmnModelInstance modelInstance, ConditionalEventDefinition element, Class<?> selfType)
public B condition(String conditionText)
conditionText
- the condition which should be evaluate to true or falsepublic B camundaVariableName(String variableName)
variableName
- the variable on which the condition should be evaluatedpublic B camundaVariableEvents(String variableEvents)
variableEvents
- the events on which the condition should be evaluatedpublic B camundaVariableEvents(List<String> variableEvents)
variableEvents
- the events on which the condition should be evaluatedpublic <T extends AbstractFlowNodeBuilder> T conditionalEventDefinitionDone()
T
- Copyright © 2018. All rights reserved.