public abstract class AbstractStartEventBuilder<B extends AbstractStartEventBuilder<B>> extends AbstractCatchEventBuilder<B,StartEvent>
compensateBoundaryEvent, compensationStarted
SPACE
element, modelInstance, myself
Modifier | Constructor and Description |
---|---|
protected |
AbstractStartEventBuilder(BpmnModelInstance modelInstance,
StartEvent element,
Class<?> selfType) |
Modifier and Type | Method and Description |
---|---|
B |
camundaAsync()
Deprecated.
use camundaAsyncBefore() instead.
Sets the camunda async attribute to true.
|
B |
camundaAsync(boolean isCamundaAsync)
Deprecated.
use camundaAsyncBefore(isCamundaAsyncBefore) instead.
Sets the camunda async attribute.
|
CamundaStartEventFormFieldBuilder |
camundaFormField()
Creates a new camunda form field extension element.
|
B |
camundaFormHandlerClass(String camundaFormHandlerClass)
Sets the camunda form handler class attribute.
|
B |
camundaFormKey(String camundaFormKey)
Sets the camunda form key attribute.
|
B |
camundaInitiator(String camundaInitiator)
Sets the camunda initiator attribute.
|
B |
compensation()
Sets a catch compensation definition.
|
B |
error()
Sets a catch all error definition.
|
B |
error(String errorCode)
Sets an error definition for the given error code.
|
ErrorEventDefinitionBuilder |
errorEventDefinition()
Creates an error event definition
and returns a builder for the error event definition.
|
ErrorEventDefinitionBuilder |
errorEventDefinition(String id)
Creates an error event definition with an unique id
and returns a builder for the error event definition.
|
B |
escalation()
Sets a catch all escalation definition.
|
B |
escalation(String escalationCode)
Sets an escalation definition for the given escalation code.
|
B |
interrupting(boolean interrupting)
Sets whether the start event is interrupting or not.
|
compensateEventDefinition, compensateEventDefinition, condition, conditionalEventDefinition, conditionalEventDefinition, message, parallelMultiple, signal, timerWithCycle, timerWithDate, timerWithDuration
camundaInputParameter, camundaOutputParameter
businessRuleTask, businessRuleTask, callActivity, callActivity, camundaAsyncAfter, camundaAsyncAfter, camundaAsyncBefore, camundaAsyncBefore, camundaExclusive, camundaExecutionListenerClass, camundaExecutionListenerClass, camundaExecutionListenerDelegateExpression, camundaExecutionListenerExpression, camundaFailedJobRetryTimeCycle, camundaJobPriority, 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, notCamundaExclusive, parallelGateway, parallelGateway, receiveTask, receiveTask, scriptTask, scriptTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, subProcess, subProcess, transaction, transaction, userTask, userTask
name
addExtensionElement, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
protected AbstractStartEventBuilder(BpmnModelInstance modelInstance, StartEvent element, Class<?> selfType)
@Deprecated public B camundaAsync()
@Deprecated public B camundaAsync(boolean isCamundaAsync)
isCamundaAsync
- the async state of the taskpublic B camundaFormHandlerClass(String camundaFormHandlerClass)
camundaFormHandlerClass
- the class name of the form handlerpublic B camundaFormKey(String camundaFormKey)
camundaFormKey
- the form key to setpublic B camundaInitiator(String camundaInitiator)
camundaInitiator
- the initiator to setpublic CamundaStartEventFormFieldBuilder camundaFormField()
public B error()
public B error(String errorCode)
errorCode
- the code of the errorpublic ErrorEventDefinitionBuilder errorEventDefinition(String id)
public ErrorEventDefinitionBuilder errorEventDefinition()
public B escalation()
public B escalation(String escalationCode)
escalationCode
- the code of the escalationpublic B compensation()
public B interrupting(boolean interrupting)
Copyright © 2019. All rights reserved.