Class AbstractFlowNodeBuilder<B extends AbstractFlowNodeBuilder<B,E>,E extends FlowNode>
java.lang.Object
org.finos.fluxnova.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
org.finos.fluxnova.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
org.finos.fluxnova.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,E>
org.finos.fluxnova.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.finos.fluxnova.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACEFields inherited from class org.finos.fluxnova.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()Sets the Camunda asyncAfter attribute to true.fluxnovaAsyncAfter(boolean asyncAfter) Sets the Camunda asyncAfter attribute for the build flow node.Sets the Camunda asyncBefore attribute to true.fluxnovaAsyncBefore(boolean asyncBefore) Sets the Camunda AsyncBefore attribute for the build flow node.fluxnovaExclusive(boolean exclusive) Sets the camunda exclusive attribute for the build flow node.fluxnovaExecutionListenerClass(String eventName, Class listenerClass) fluxnovaExecutionListenerClass(String eventName, String fullQualifiedClassName) fluxnovaExecutionListenerDelegateExpression(String eventName, String delegateExpression) fluxnovaExecutionListenerExpression(String eventName, String expression) fluxnovaFailedJobRetryTimeCycle(String retryTimeCycle) Sets the camunda failedJobRetryTimeCycle attribute for the build flow node.fluxnovaJobPriority(String jobPriority) protected booleanprotected booleanmanualTask(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.finos.fluxnova.bpm.model.bpmn.builder.AbstractFlowElementBuilder
nameMethods inherited from class org.finos.fluxnova.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.finos.fluxnova.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
-
fluxnovaAsyncBefore
Sets the Camunda AsyncBefore attribute for the build flow node.- Parameters:
asyncBefore- boolean value to set- Returns:
- the builder object
-
fluxnovaAsyncBefore
Sets the Camunda asyncBefore attribute to true.- Returns:
- the builder object
-
fluxnovaAsyncAfter
Sets the Camunda asyncAfter attribute for the build flow node.- Parameters:
asyncAfter- boolean value to set- Returns:
- the builder object
-
fluxnovaAsyncAfter
Sets the Camunda asyncAfter attribute to true.- Returns:
- the builder object
-
notFluxnovaExclusive
Sets the Camunda exclusive attribute to true.- Returns:
- the builder object
-
fluxnovaExclusive
Sets the camunda exclusive attribute for the build flow node.- Parameters:
exclusive- boolean value to set- Returns:
- the builder object
-
fluxnovaJobPriority
-
fluxnovaFailedJobRetryTimeCycle
Sets the camunda failedJobRetryTimeCycle attribute for the build flow node.- Parameters:
retryTimeCycle- the retry time cycle value to set- Returns:
- the builder object
-
fluxnovaExecutionListenerClass
-
fluxnovaExecutionListenerClass
-
fluxnovaExecutionListenerExpression
-
fluxnovaExecutionListenerDelegateExpression
-
compensationStart
-
isBoundaryEventWithStartedCompensation
protected boolean isBoundaryEventWithStartedCompensation() -
isCompensationHandler
protected boolean isCompensationHandler()
-