Class AbstractServiceTaskBuilder<B extends AbstractServiceTaskBuilder<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.AbstractActivityBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractTaskBuilder<B,ServiceTask>
org.camunda.bpm.model.bpmn.builder.AbstractServiceTaskBuilder<B>
- Direct Known Subclasses:
ServiceTaskBuilder
public abstract class AbstractServiceTaskBuilder<B extends AbstractServiceTaskBuilder<B>>
extends AbstractTaskBuilder<B,ServiceTask>
- 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
ModifierConstructorDescriptionprotected
AbstractServiceTaskBuilder
(BpmnModelInstance modelInstance, ServiceTask element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptioncamundaClass
(Class camundaClass) Sets the camunda class attribute.camundaClass
(String fullQualifiedClassName) Sets the camunda class attribute.camundaDelegateExpression
(String camundaExpression) Sets the camunda delegateExpression attribute.Creates an error event definition for this service task and returns a builder for the error event definition.camundaExpression
(String camundaExpression) Sets the camunda expression attribute.camundaExternalTask
(String camundaTopic) Sets the camunda topic attribute and the camunda type attribute to the valueexternal</code.
camundaResultVariable
(String camundaResultVariable) Sets the camunda resultVariable attribute.camundaTaskPriority
(String taskPriority) Sets the camunda task priority attribute.camundaTopic
(String camundaTopic) Sets the camunda topic attribute.camundaType
(String camundaType) Sets the camunda type attribute.implementation
(String implementation) Sets the implementation of the build service task.Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractTaskBuilder
camundaAsync, camundaAsync
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, 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 Details
-
AbstractServiceTaskBuilder
protected AbstractServiceTaskBuilder(BpmnModelInstance modelInstance, ServiceTask element, Class<?> selfType)
-
-
Method Details
-
implementation
Sets the implementation of the build service task.- Parameters:
implementation
- the implementation to set- Returns:
- the builder object
-
camundaClass
Sets the camunda class attribute.- Parameters:
camundaClass
- the class name to set- Returns:
- the builder object
-
camundaClass
Sets the camunda class attribute.- Parameters:
fullQualifiedClassName
- the class name to set- Returns:
- the builder object
-
camundaDelegateExpression
Sets the camunda delegateExpression attribute.- Parameters:
camundaExpression
- the delegateExpression to set- Returns:
- the builder object
-
camundaExpression
Sets the camunda expression attribute.- Parameters:
camundaExpression
- the expression to set- Returns:
- the builder object
-
camundaResultVariable
Sets the camunda resultVariable attribute.- Parameters:
camundaResultVariable
- the name of the process variable- Returns:
- the builder object
-
camundaTopic
Sets the camunda topic attribute. This is only meaningful when thecamundaType(String)
attribute has the valueexternal
.- Parameters:
camundaTopic
- the topic to set- Returns:
- the build object
-
camundaType
Sets the camunda type attribute.- Parameters:
camundaType
- the type of the service task- Returns:
- the builder object
-
camundaExternalTask
Sets the camunda topic attribute and the camunda type attribute to the valueexternal</code. Reduces two calls to
camundaType(String)
andcamundaTopic(String)
.- Parameters:
camundaTopic
- the topic to set- Returns:
- the build object
-
camundaTaskPriority
Sets the camunda task priority attribute. This is only meaningful when thecamundaType(String)
attribute has the valueexternal
.- Parameters:
taskPriority
- the priority for the external task- Returns:
- the builder object
-
camundaErrorEventDefinition
Creates an error event definition for this service task and returns a builder for the error event definition. This is only meaningful when thecamundaType(String)
attribute has the valueexternal
.- Returns:
- the error event definition builder object
-