Class AbstractStartEventBuilder<B extends AbstractStartEventBuilder<B>>
- java.lang.Object
- 
- org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
- 
- org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
- 
- org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,E>
- 
- org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
- 
- org.camunda.bpm.model.bpmn.builder.AbstractEventBuilder<B,E>
- 
- org.camunda.bpm.model.bpmn.builder.AbstractCatchEventBuilder<B,StartEvent>
- 
- org.camunda.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.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuildercompensateBoundaryEvent, compensationStarted
 - 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilderSPACE
 - 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilderelement, modelInstance, myself
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractStartEventBuilder(BpmnModelInstance modelInstance, StartEvent element, java.lang.Class<?> selfType)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BcamundaAsync()Deprecated.use camundaAsyncBefore() instead.BcamundaAsync(boolean isCamundaAsync)Deprecated.use camundaAsyncBefore(isCamundaAsyncBefore) instead.CamundaStartEventFormFieldBuildercamundaFormField()Creates a new camunda form field extension element.BcamundaFormHandlerClass(java.lang.String camundaFormHandlerClass)Sets the camunda form handler class attribute.BcamundaFormKey(java.lang.String camundaFormKey)Sets the camunda form key attribute.BcamundaFormRef(java.lang.String camundaFormRef)Sets the camunda form ref attribute.BcamundaFormRefBinding(java.lang.String camundaFormRefBinding)Sets the camunda form ref binding attribute.BcamundaFormRefVersion(java.lang.String camundaFormRefVersion)Sets the camunda form ref version attribute.BcamundaInitiator(java.lang.String camundaInitiator)Sets the camunda initiator attribute.Bcompensation()Sets a catch compensation definition.Berror()Sets a catch all error definition.Berror(java.lang.String errorCode)Sets an error definition for the given error code.Berror(java.lang.String errorCode, java.lang.String errorMessage)Sets an error definition for the given error code.ErrorEventDefinitionBuildererrorEventDefinition()Creates an error event definition and returns a builder for the error event definition.ErrorEventDefinitionBuildererrorEventDefinition(java.lang.String id)Creates an error event definition with an unique id and returns a builder for the error event definition.Bescalation()Sets a catch all escalation definition.Bescalation(java.lang.String escalationCode)Sets an escalation definition for the given escalation code.Binterrupting(boolean interrupting)Sets whether the start event is interrupting or not.- 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractCatchEventBuildercompensateEventDefinition, compensateEventDefinition, condition, conditionalEventDefinition, conditionalEventDefinition, message, parallelMultiple, signal, timerWithCycle, timerWithDate, timerWithDuration
 - 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractEventBuildercamundaInputParameter, camundaOutputParameter
 - 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilderbusinessRuleTask, 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
 - 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuildername
 - 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilderaddExtensionElement, 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, setWaypointsWithSourceAndTarget
 - 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilderdone, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractStartEventBuilderprotected AbstractStartEventBuilder(BpmnModelInstance modelInstance, StartEvent element, java.lang.Class<?> selfType) 
 
- 
 - 
Method Detail- 
camundaAsync@Deprecated public B camundaAsync() Deprecated.use camundaAsyncBefore() instead. Sets the camunda async attribute to true.- Returns:
- the builder object
 
 - 
camundaAsync@Deprecated public B camundaAsync(boolean isCamundaAsync) Deprecated.use camundaAsyncBefore(isCamundaAsyncBefore) instead. Sets the camunda async attribute.- Parameters:
- isCamundaAsync- the async state of the task
- Returns:
- the builder object
 
 - 
camundaFormHandlerClasspublic B camundaFormHandlerClass(java.lang.String camundaFormHandlerClass) Sets the camunda form handler class attribute.- Parameters:
- camundaFormHandlerClass- the class name of the form handler
- Returns:
- the builder object
 
 - 
camundaFormKeypublic B camundaFormKey(java.lang.String camundaFormKey) Sets the camunda form key attribute.- Parameters:
- camundaFormKey- the form key to set
- Returns:
- the builder object
 
 - 
camundaFormRefpublic B camundaFormRef(java.lang.String camundaFormRef) Sets the camunda form ref attribute.- Parameters:
- camundaFormRef- the form ref to set
- Returns:
- the builder object
 
 - 
camundaFormRefBindingpublic B camundaFormRefBinding(java.lang.String camundaFormRefBinding) Sets the camunda form ref binding attribute.- Parameters:
- camundaFormRef- the form ref binding to set
- Returns:
- the builder object
 
 - 
camundaFormRefVersionpublic B camundaFormRefVersion(java.lang.String camundaFormRefVersion) Sets the camunda form ref version attribute.- Parameters:
- camundaFormRef- the form ref version to set
- Returns:
- the builder object
 
 - 
camundaInitiatorpublic B camundaInitiator(java.lang.String camundaInitiator) Sets the camunda initiator attribute.- Parameters:
- camundaInitiator- the initiator to set
- Returns:
- the builder object
 
 - 
camundaFormFieldpublic CamundaStartEventFormFieldBuilder camundaFormField() Creates a new camunda form field extension element.- Returns:
- the builder object
 
 - 
errorpublic B error() Sets a catch all error definition.- Returns:
- the builder object
 
 - 
errorpublic B error(java.lang.String errorCode) 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
 
 - 
errorpublic B error(java.lang.String errorCode, java.lang.String errorMessage) 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 error
- errorMessage- the error message that is used when a new error needs to be created
- Returns:
- the builder object
 
 - 
errorEventDefinitionpublic ErrorEventDefinitionBuilder errorEventDefinition(java.lang.String id) 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
 
 - 
errorEventDefinitionpublic ErrorEventDefinitionBuilder errorEventDefinition() Creates an error event definition and returns a builder for the error event definition.- Returns:
- the error event definition builder object
 
 - 
escalationpublic B escalation() Sets a catch all escalation definition.- Returns:
- the builder object
 
 - 
escalationpublic B escalation(java.lang.String escalationCode) 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
 
 - 
compensationpublic B compensation() Sets a catch compensation definition.- Returns:
- the builder object
 
 - 
interruptingpublic B interrupting(boolean interrupting) Sets whether the start event is interrupting or not.
 
- 
 
-