org.camunda.bpm.model.bpmn.builder
Class AbstractSubProcessBuilder<B extends AbstractSubProcessBuilder<B>>

java.lang.Object
  extended by org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
      extended by org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
          extended by org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,E>
              extended by org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
                  extended by org.camunda.bpm.model.bpmn.builder.AbstractActivityBuilder<B,SubProcess>
                      extended by org.camunda.bpm.model.bpmn.builder.AbstractSubProcessBuilder<B>
Direct Known Subclasses:
AbstractTransactionBuilder, SubProcessBuilder

public class AbstractSubProcessBuilder<B extends AbstractSubProcessBuilder<B>>
extends AbstractActivityBuilder<B,SubProcess>

Author:
Sebastian Menski

Field Summary
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
compensateBoundaryEvent, compensationStarted
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACE
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
 
Constructor Summary
protected AbstractSubProcessBuilder(BpmnModelInstance modelInstance, SubProcess element, Class<?> selfType)
           
 
Method Summary
 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.
 EmbeddedSubProcessBuilder embeddedSubProcess()
           
 B triggerByEvent()
          Sets the sub process to be triggered by an event.
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractActivityBuilder
boundaryEvent, boundaryEvent, calculateXCoordinate, camundaInputParameter, camundaOutputParameter, multiInstance, setBoundaryEventCoordinates
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
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
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder
name
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
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
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, transactionDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSubProcessBuilder

protected AbstractSubProcessBuilder(BpmnModelInstance modelInstance,
                                    SubProcess element,
                                    Class<?> selfType)
Method Detail

embeddedSubProcess

public EmbeddedSubProcessBuilder embeddedSubProcess()

triggerByEvent

public B triggerByEvent()
Sets the sub process to be triggered by an event.

Returns:
the builder object

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


Copyright © 2017 camunda services GmbH. All rights reserved.