Class AbstractMultiInstanceLoopCharacteristicsBuilder<B extends AbstractMultiInstanceLoopCharacteristicsBuilder<B>>
- java.lang.Object
-
- org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,MultiInstanceLoopCharacteristics>
-
- org.camunda.bpm.model.bpmn.builder.AbstractMultiInstanceLoopCharacteristicsBuilder<B>
-
- Direct Known Subclasses:
MultiInstanceLoopCharacteristicsBuilder
public class AbstractMultiInstanceLoopCharacteristicsBuilder<B extends AbstractMultiInstanceLoopCharacteristicsBuilder<B>> extends AbstractBaseElementBuilder<B,MultiInstanceLoopCharacteristics>
- Author:
- Thorben Lindhauer
-
-
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 Modifier Constructor Description protected
AbstractMultiInstanceLoopCharacteristicsBuilder(BpmnModelInstance modelInstance, MultiInstanceLoopCharacteristics element, java.lang.Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
camundaAsyncAfter()
Sets the multi instance loop characteristics to be asynchronous after.B
camundaAsyncBefore()
Sets the multi instance loop characteristics to be asynchronous before.B
camundaCollection(java.lang.String expression)
Sets the camunda collection expression.B
camundaElementVariable(java.lang.String variableName)
Sets the camunda element variable name.B
cardinality(java.lang.String expression)
Sets the cardinality expression.B
completionCondition(java.lang.String expression)
Sets the completion condition expression.<T extends AbstractActivityBuilder>
TmultiInstanceDone()
Finishes the building of a multi instance loop characteristics.B
parallel()
Sets the multi instance loop characteristics to be parallel.B
sequential()
Sets the multi instance loop characteristics to be sequential.-
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
-
AbstractMultiInstanceLoopCharacteristicsBuilder
protected AbstractMultiInstanceLoopCharacteristicsBuilder(BpmnModelInstance modelInstance, MultiInstanceLoopCharacteristics element, java.lang.Class<?> selfType)
-
-
Method Detail
-
sequential
public B sequential()
Sets the multi instance loop characteristics to be sequential.- Returns:
- the builder object
-
parallel
public B parallel()
Sets the multi instance loop characteristics to be parallel.- Returns:
- the builder object
-
cardinality
public B cardinality(java.lang.String expression)
Sets the cardinality expression.- Parameters:
expression
- the cardinality expression- Returns:
- the builder object
-
completionCondition
public B completionCondition(java.lang.String expression)
Sets the completion condition expression.- Parameters:
expression
- the completion condition expression- Returns:
- the builder object
-
camundaCollection
public B camundaCollection(java.lang.String expression)
Sets the camunda collection expression.- Parameters:
expression
- the collection expression- Returns:
- the builder object
-
camundaElementVariable
public B camundaElementVariable(java.lang.String variableName)
Sets the camunda element variable name.- Parameters:
variableName
- the name of the element variable- Returns:
- the builder object
-
camundaAsyncBefore
public B camundaAsyncBefore()
Sets the multi instance loop characteristics to be asynchronous before.- Returns:
- the builder object
-
camundaAsyncAfter
public B camundaAsyncAfter()
Sets the multi instance loop characteristics to be asynchronous after.- Returns:
- the builder object
-
multiInstanceDone
public <T extends AbstractActivityBuilder> T multiInstanceDone()
Finishes the building of a multi instance loop characteristics.- Returns:
- the parent activity builder
-
-