Class AbstractFlowNodeBuilder<B extends AbstractFlowNodeBuilder<B,E>,E extends FlowNode>
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.AbstractFlowElementBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
- Direct Known Subclasses:
AbstractActivityBuilder
,AbstractEventBuilder
,AbstractGatewayBuilder
public abstract class AbstractFlowNodeBuilder<B extends AbstractFlowNodeBuilder<B,E>,E extends FlowNode>
extends AbstractFlowElementBuilder<B,E>
- Author:
- Sebastian Menski
-
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
ModifierConstructorDescriptionprotected
AbstractFlowNodeBuilder
(BpmnModelInstance modelInstance, E element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptioncallActivity
(String id) Sets the Camunda asyncAfter attribute to true.camundaAsyncAfter
(boolean asyncAfter) Sets the Camunda asyncAfter attribute for the build flow node.Sets the Camunda asyncBefore attribute to true.camundaAsyncBefore
(boolean asyncBefore) Sets the Camunda AsyncBefore attribute for the build flow node.camundaExclusive
(boolean exclusive) Sets the camunda exclusive attribute for the build flow node.camundaExecutionListenerClass
(String eventName, Class listenerClass) camundaExecutionListenerClass
(String eventName, String fullQualifiedClassName) camundaExecutionListenerDelegateExpression
(String eventName, String delegateExpression) camundaExecutionListenerExpression
(String eventName, String expression) camundaFailedJobRetryTimeCycle
(String retryTimeCycle) Sets the camunda failedJobRetryTimeCycle attribute for the build flow node.camundaJobPriority
(String jobPriority) protected void
connectTarget
(FlowNode target) protected void
connectTargetWithAssociation
(FlowNode target) protected void
protected <T extends FlowNode>
TcreateTarget
(Class<T> typeClass, String identifier) protected <T extends AbstractFlowNodeBuilder,
F extends FlowNode>
TcreateTargetBuilder
(Class<F> typeClass) protected <T extends AbstractFlowNodeBuilder,
F extends FlowNode>
TcreateTargetBuilder
(Class<F> typeClass, String id) endEvent()
protected boolean
protected boolean
manualTask
(String id) <T extends AbstractActivityBuilder>
TmoveToActivity
(String identifier) moveToNode
(String identifier) Sets the Camunda exclusive attribute to true.receiveTask
(String id) scriptTask
(String id) sendTask()
sequenceFlowId
(String sequenceFlowId) serviceTask
(String id) subProcess
(String id) transaction
(String id) userTask()
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder
name
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
-
Field Details
-
compensationStarted
protected boolean compensationStarted -
compensateBoundaryEvent
-
-
Constructor Details
-
AbstractFlowNodeBuilder
-
-
Method Details
-
condition
-
connectTarget
-
connectTargetWithSequenceFlow
-
connectTargetWithAssociation
-
compensationDone
-
sequenceFlowId
-
createTarget
-
createTargetBuilder
protected <T extends AbstractFlowNodeBuilder,F extends FlowNode> T createTargetBuilder(Class<F> typeClass) -
createTargetBuilder
protected <T extends AbstractFlowNodeBuilder,F extends FlowNode> T createTargetBuilder(Class<F> typeClass, String id) -
serviceTask
-
serviceTask
-
sendTask
-
sendTask
-
userTask
-
userTask
-
businessRuleTask
-
businessRuleTask
-
scriptTask
-
scriptTask
-
receiveTask
-
receiveTask
-
manualTask
-
manualTask
-
endEvent
-
endEvent
-
parallelGateway
-
parallelGateway
-
exclusiveGateway
-
inclusiveGateway
-
eventBasedGateway
-
exclusiveGateway
-
inclusiveGateway
-
intermediateCatchEvent
-
intermediateCatchEvent
-
intermediateThrowEvent
-
intermediateThrowEvent
-
callActivity
-
callActivity
-
subProcess
-
subProcess
-
transaction
-
transaction
-
findLastGateway
-
moveToLastGateway
-
moveToNode
-
moveToActivity
-
connectTo
-
camundaAsyncBefore
Sets the Camunda AsyncBefore attribute for the build flow node.- Parameters:
asyncBefore
- boolean value to set- Returns:
- the builder object
-
camundaAsyncBefore
Sets the Camunda asyncBefore attribute to true.- Returns:
- the builder object
-
camundaAsyncAfter
Sets the Camunda asyncAfter attribute for the build flow node.- Parameters:
asyncAfter
- boolean value to set- Returns:
- the builder object
-
camundaAsyncAfter
Sets the Camunda asyncAfter attribute to true.- Returns:
- the builder object
-
notCamundaExclusive
Sets the Camunda exclusive attribute to true.- Returns:
- the builder object
-
camundaExclusive
Sets the camunda exclusive attribute for the build flow node.- Parameters:
exclusive
- boolean value to set- Returns:
- the builder object
-
camundaJobPriority
-
camundaFailedJobRetryTimeCycle
Sets the camunda failedJobRetryTimeCycle attribute for the build flow node.- Parameters:
retryTimeCycle
- the retry time cycle value to set- Returns:
- the builder object
-
camundaExecutionListenerClass
-
camundaExecutionListenerClass
-
camundaExecutionListenerExpression
-
camundaExecutionListenerDelegateExpression
-
compensationStart
-
isBoundaryEventWithStartedCompensation
protected boolean isBoundaryEventWithStartedCompensation() -
isCompensationHandler
protected boolean isCompensationHandler()
-