Class AbstractActivityBuilder<B extends AbstractActivityBuilder<B,E>,E extends Activity>
- 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.AbstractActivityBuilder<B,E>
-
- Direct Known Subclasses:
AbstractCallActivityBuilder
,AbstractSubProcessBuilder
,AbstractTaskBuilder
public abstract class AbstractActivityBuilder<B extends AbstractActivityBuilder<B,E>,E extends Activity> extends AbstractFlowNodeBuilder<B,E>
- 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
Constructors Modifier Constructor Description protected
AbstractActivityBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundaryEventBuilder
boundaryEvent()
BoundaryEventBuilder
boundaryEvent(String id)
protected double
calculateXCoordinate(Bounds boundaryEventBounds)
B
camundaInputParameter(String name, String value)
Creates a new camunda input parameter extension element with the given name and value.B
camundaOutputParameter(String name, String value)
Creates a new camunda output parameter extension element with the given name and value.MultiInstanceLoopCharacteristicsBuilder
multiInstance()
protected void
setBoundaryEventCoordinates(BpmnShape bpmnShape)
-
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, 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.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
-
-
-
Constructor Detail
-
AbstractActivityBuilder
protected AbstractActivityBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
-
-
Method Detail
-
boundaryEvent
public BoundaryEventBuilder boundaryEvent()
-
boundaryEvent
public BoundaryEventBuilder boundaryEvent(String id)
-
multiInstance
public MultiInstanceLoopCharacteristicsBuilder multiInstance()
-
camundaInputParameter
public B camundaInputParameter(String name, String value)
Creates a new camunda input parameter extension element with the given name and value.- Parameters:
name
- the name of the input parametervalue
- the value of the input parameter- Returns:
- the builder object
-
camundaOutputParameter
public B camundaOutputParameter(String name, String value)
Creates a new camunda output parameter extension element with the given name and value.- Parameters:
name
- the name of the output parametervalue
- the value of the output parameter- Returns:
- the builder object
-
calculateXCoordinate
protected double calculateXCoordinate(Bounds boundaryEventBounds)
-
setBoundaryEventCoordinates
protected void setBoundaryEventCoordinates(BpmnShape bpmnShape)
-
-