Class AbstractFlowNodeBuilder<B extends AbstractFlowNodeBuilder<B,E>,E extends FlowNode>
java.lang.Object
org.operaton.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
org.operaton.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
org.operaton.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,E>
org.operaton.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
FieldsFields 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
ConstructorsModifierConstructorDescriptionprotectedAbstractFlowNodeBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptioncallActivity(String id) protected voidconnectTarget(FlowNode target) protected voidconnectTargetWithAssociation(FlowNode target) protected voidprotected <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 booleanprotected booleanmanualTask(String id) <T extends AbstractActivityBuilder>
TmoveToActivity(String identifier) moveToNode(String identifier) Sets the Operaton exclusive attribute to true.Sets the Operaton asyncAfter attribute to true.operatonAsyncAfter(boolean asyncAfter) Sets the Operaton asyncAfter attribute for the build flow node.Sets the Operaton asyncBefore attribute to true.operatonAsyncBefore(boolean asyncBefore) Sets the Operaton AsyncBefore attribute for the build flow node.operatonExclusive(boolean exclusive) Sets the operaton exclusive attribute for the build flow node.operatonExecutionListenerClass(String eventName, Class listenerClass) operatonExecutionListenerClass(String eventName, String fullQualifiedClassName) operatonExecutionListenerDelegateExpression(String eventName, String delegateExpression) operatonExecutionListenerExpression(String eventName, String expression) operatonFailedJobRetryTimeCycle(String retryTimeCycle) Sets the operaton failedJobRetryTimeCycle attribute for the build flow node.operatonJobPriority(String jobPriority) 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.operaton.bpm.model.bpmn.builder.AbstractFlowElementBuilder
nameMethods 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
-
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
-
operatonAsyncBefore
Sets the Operaton AsyncBefore attribute for the build flow node.- Parameters:
asyncBefore- boolean value to set- Returns:
- the builder object
-
operatonAsyncBefore
Sets the Operaton asyncBefore attribute to true.- Returns:
- the builder object
-
operatonAsyncAfter
Sets the Operaton asyncAfter attribute for the build flow node.- Parameters:
asyncAfter- boolean value to set- Returns:
- the builder object
-
operatonAsyncAfter
Sets the Operaton asyncAfter attribute to true.- Returns:
- the builder object
-
notOperatonExclusive
Sets the Operaton exclusive attribute to true.- Returns:
- the builder object
-
operatonExclusive
Sets the operaton exclusive attribute for the build flow node.- Parameters:
exclusive- boolean value to set- Returns:
- the builder object
-
operatonJobPriority
-
operatonFailedJobRetryTimeCycle
Sets the operaton failedJobRetryTimeCycle attribute for the build flow node.- Parameters:
retryTimeCycle- the retry time cycle value to set- Returns:
- the builder object
-
operatonExecutionListenerClass
-
operatonExecutionListenerClass
-
operatonExecutionListenerExpression
-
operatonExecutionListenerDelegateExpression
-
compensationStart
-
isBoundaryEventWithStartedCompensation
protected boolean isBoundaryEventWithStartedCompensation() -
isCompensationHandler
protected boolean isCompensationHandler()
-