Class AbstractStartEventBuilder<B extends AbstractStartEventBuilder<B>>
java.lang.Object
org.operaton.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,StartEvent>
org.operaton.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,StartEvent>
org.operaton.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,StartEvent>
org.operaton.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,StartEvent>
org.operaton.bpm.model.bpmn.builder.AbstractEventBuilder<B,StartEvent>
org.operaton.bpm.model.bpmn.builder.AbstractCatchEventBuilder<B,StartEvent>
org.operaton.bpm.model.bpmn.builder.AbstractStartEventBuilder<B>
- Direct Known Subclasses:
StartEventBuilder
public abstract class AbstractStartEventBuilder<B extends AbstractStartEventBuilder<B>>
extends AbstractCatchEventBuilder<B,StartEvent>
- Author:
- Sebastian Menski
-
Field Summary
Fields inherited from class org.operaton.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
compensateBoundaryEvent, compensationStartedFields 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
ConstructorsModifierConstructorDescriptionprotectedAbstractStartEventBuilder(BpmnModelInstance modelInstance, StartEvent element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionSets a catch compensation definition.error()Sets a catch all error definition.Sets an error definition for the given error code.Sets an error definition for the given error code.Creates an error event definition and returns a builder for the error event definition.Creates an error event definition with an unique id and returns a builder for the error event definition.Sets a catch all escalation definition.escalation(String escalationCode) Sets an escalation definition for the given escalation code.interrupting(boolean interrupting) Sets whether the start event is interrupting or not.Deprecated, for removal: This API element is subject to removal in a future version.operatonAsync(boolean isOperatonAsync) Deprecated, for removal: This API element is subject to removal in a future version.UseAbstractFlowNodeBuilder.operatonAsyncBefore(boolean)instead.Creates a new operaton form field extension element.operatonFormHandlerClass(String operatonFormHandlerClass) Sets the operaton form handler class attribute.operatonFormKey(String operatonFormKey) Sets the operaton form key attribute.operatonFormRef(String operatonFormRef) Sets the operaton form ref attribute.operatonFormRefBinding(String operatonFormRefBinding) Sets the operaton form ref binding attribute.operatonFormRefVersion(String operatonFormRefVersion) Sets the operaton form ref version attribute.operatonInitiator(String operatonInitiator) Sets the operaton initiator attribute.Methods inherited from class org.operaton.bpm.model.bpmn.builder.AbstractCatchEventBuilder
compensateEventDefinition, compensateEventDefinition, condition, conditionalEventDefinition, conditionalEventDefinition, message, parallelMultiple, signal, timerWithCycle, timerWithDate, timerWithDurationMethods inherited from class org.operaton.bpm.model.bpmn.builder.AbstractEventBuilder
operatonInputParameter, operatonOutputParameterMethods inherited from class org.operaton.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
businessRuleTask, businessRuleTask, callActivity, callActivity, compensationDone, compensationStart, condition, connectTarget, connectTargetWithAssociation, connectTargetWithSequenceFlow, connectTo, createTarget, createTargetBuilder, createTargetBuilder, endEvent, endEvent, eventBasedGateway, exclusiveGateway, exclusiveGateway, findLastGateway, inclusiveGateway, inclusiveGateway, intermediateCatchEvent, intermediateCatchEvent, intermediateThrowEvent, intermediateThrowEvent, isBoundaryEventWithStartedCompensation, isCompensationHandler, manualTask, manualTask, moveToActivity, moveToLastGateway, moveToNode, notOperatonExclusive, operatonAsyncAfter, operatonAsyncAfter, operatonAsyncBefore, operatonAsyncBefore, operatonExclusive, operatonExecutionListenerClass, operatonExecutionListenerClass, operatonExecutionListenerDelegateExpression, operatonExecutionListenerExpression, operatonFailedJobRetryTimeCycle, operatonJobPriority, parallelGateway, parallelGateway, receiveTask, receiveTask, scriptTask, scriptTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, subProcess, subProcess, transaction, transaction, userTask, userTaskMethods 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
-
Constructor Details
-
AbstractStartEventBuilder
protected AbstractStartEventBuilder(BpmnModelInstance modelInstance, StartEvent element, Class<?> selfType)
-
-
Method Details
-
operatonAsync
Deprecated, for removal: This API element is subject to removal in a future version.UseAbstractFlowNodeBuilder.operatonAsyncBefore()instead.Sets the operaton async attribute to true.- Returns:
- the builder object
-
operatonAsync
Deprecated, for removal: This API element is subject to removal in a future version.UseAbstractFlowNodeBuilder.operatonAsyncBefore(boolean)instead.Sets the operaton async attribute.- Parameters:
isOperatonAsync- the async state of the task- Returns:
- the builder object
-
operatonFormHandlerClass
Sets the operaton form handler class attribute.- Parameters:
operatonFormHandlerClass- the class name of the form handler- Returns:
- the builder object
-
operatonFormKey
Sets the operaton form key attribute.- Parameters:
operatonFormKey- the form key to set- Returns:
- the builder object
-
operatonFormRef
Sets the operaton form ref attribute.- Parameters:
operatonFormRef- the form ref to set- Returns:
- the builder object
-
operatonFormRefBinding
Sets the operaton form ref binding attribute.- Parameters:
operatonFormRef- the form ref binding to set- Returns:
- the builder object
-
operatonFormRefVersion
Sets the operaton form ref version attribute.- Parameters:
operatonFormRef- the form ref version to set- Returns:
- the builder object
-
operatonInitiator
Sets the operaton initiator attribute.- Parameters:
operatonInitiator- the initiator to set- Returns:
- the builder object
-
operatonFormField
Creates a new operaton form field extension element.- Returns:
- the builder object
-
error
Sets a catch all error definition.- Returns:
- the builder object
-
error
Sets an error definition for the given error code. If already an error with this code exists it will be used, otherwise a new error is created.- Parameters:
errorCode- the code of the error- Returns:
- the builder object
-
error
Sets an error definition for the given error code. If already an error with this code exists it will be used, otherwise a new error is created with the given errorMessage.- Parameters:
errorCode- the code of the errorerrorMessage- the error message that is used when a new error needs to be created- Returns:
- the builder object
-
errorEventDefinition
Creates an error event definition with an unique id and returns a builder for the error event definition.- Returns:
- the error event definition builder object
-
errorEventDefinition
Creates an error event definition and returns a builder for the error event definition.- Returns:
- the error event definition builder object
-
escalation
Sets a catch all escalation definition.- Returns:
- the builder object
-
escalation
Sets an escalation definition for the given escalation code. If already an escalation with this code exists it will be used, otherwise a new escalation is created.- Parameters:
escalationCode- the code of the escalation- Returns:
- the builder object
-
compensation
Sets a catch compensation definition.- Returns:
- the builder object
-
interrupting
Sets whether the start event is interrupting or not.
-
AbstractFlowNodeBuilder.operatonAsyncBefore()instead.