public abstract class AbstractStartEventBuilder<B extends AbstractStartEventBuilder<B>> extends AbstractCatchEventBuilder<B,StartEvent>
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
businessRuleTask, businessRuleTask, callActivity, callActivity, camundaAsyncAfter, camundaAsyncAfter, camundaAsyncBefore, camundaAsyncBefore, camundaExclusive, camundaExecutionListenerClass, camundaExecutionListenerDelegateExpression, camundaExecutionListenerExpression, camundaFailedJobRetryTimeCycle, camundaJobPriority, condition, connectTo, endEvent, endEvent, eventBasedGateway, exclusiveGateway, exclusiveGateway, findLastGateway, inclusiveGateway, inclusiveGateway, intermediateCatchEvent, intermediateCatchEvent, intermediateThrowEvent, intermediateThrowEvent, 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, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id
done, subProcessDone, 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 © 2018. All rights reserved.