Class AbstractServiceTaskBuilder<B extends AbstractServiceTaskBuilder<B>>
java.lang.Object
org.operaton.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,ServiceTask>
org.operaton.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,ServiceTask>
org.operaton.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,ServiceTask>
org.operaton.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,ServiceTask>
org.operaton.bpm.model.bpmn.builder.AbstractActivityBuilder<B,ServiceTask>
org.operaton.bpm.model.bpmn.builder.AbstractTaskBuilder<B,ServiceTask>
org.operaton.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.operaton.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
compensateBoundaryEvent, compensationStartedFields inherited from class org.operaton.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACEFields inherited from class org.operaton.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractServiceTaskBuilder(BpmnModelInstance modelInstance, ServiceTask element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionimplementation(String implementation) Sets the implementation of the build service task.operatonClass(Class operatonClass) Sets the operaton class attribute.operatonClass(String fullQualifiedClassName) Sets the operaton class attribute.operatonDelegateExpression(String operatonExpression) Sets the operaton delegateExpression attribute.Creates an error event definition for this service task and returns a builder for the error event definition.operatonExpression(String operatonExpression) Sets the operaton expression attribute.operatonExternalTask(String operatonTopic) Sets the operaton topic attribute and the operaton type attribute to the valueexternalinvalid input: '<'/code.operatonResultVariable(String operatonResultVariable) Sets the operaton resultVariable attribute.operatonTaskPriority(String taskPriority) Sets the operaton task priority attribute.operatonTopic(String operatonTopic) Sets the operaton topic attribute.operatonType(String operatonType) Sets the operaton type attribute.Methods inherited from class org.operaton.bpm.model.bpmn.builder.AbstractTaskBuilder
operatonAsync, operatonAsyncMethods inherited from class org.operaton.bpm.model.bpmn.builder.AbstractActivityBuilder
boundaryEvent, boundaryEvent, calculateXCoordinate, multiInstance, operatonInputParameter, operatonOutputParameter, setBoundaryEventCoordinatesMethods inherited from class org.operaton.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
businessRuleTask, businessRuleTask, callActivity, callActivity, 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, notOperatonExclusive, operatonAsyncAfter, operatonAsyncAfter, operatonAsyncBefore, operatonAsyncBefore, operatonExclusive, operatonExecutionListenerClass, operatonExecutionListenerClass, operatonExecutionListenerDelegateExpression, operatonExecutionListenerExpression, operatonFailedJobRetryTimeCycle, operatonJobPriority, parallelGateway, parallelGateway, receiveTask, receiveTask, scriptTask, scriptTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, subProcess, subProcess, transaction, transaction, userTask, userTaskMethods inherited from class org.operaton.bpm.model.bpmn.builder.AbstractFlowElementBuilder
nameMethods inherited from class org.operaton.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, setWaypointsWithSourceAndTargetMethods inherited from class org.operaton.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
-
operatonClass
Sets the operaton class attribute.- Parameters:
operatonClass- the class name to set- Returns:
- the builder object
-
operatonClass
Sets the operaton class attribute.- Parameters:
operatonClass- the class name to set- Returns:
- the builder object
-
operatonDelegateExpression
Sets the operaton delegateExpression attribute.- Parameters:
operatonExpression- the delegateExpression to set- Returns:
- the builder object
-
operatonExpression
Sets the operaton expression attribute.- Parameters:
operatonExpression- the expression to set- Returns:
- the builder object
-
operatonResultVariable
Sets the operaton resultVariable attribute.- Parameters:
operatonResultVariable- the name of the process variable- Returns:
- the builder object
-
operatonTopic
Sets the operaton topic attribute. This is only meaningful when theoperatonType(String)attribute has the valueexternal.- Parameters:
operatonTopic- the topic to set- Returns:
- the build object
-
operatonType
Sets the operaton type attribute.- Parameters:
operatonType- the type of the service task- Returns:
- the builder object
-
operatonExternalTask
Sets the operaton topic attribute and the operaton type attribute to the valueexternalinvalid input: '<'/code. Reduces two calls tooperatonType(String)andoperatonTopic(String).- Parameters:
operatonTopic- the topic to set- Returns:
- the build object
-
operatonTaskPriority
Sets the operaton task priority attribute. This is only meaningful when theoperatonType(String)attribute has the valueexternal.- Parameters:
taskPriority- the priority for the external task- Returns:
- the builder object
-
operatonErrorEventDefinition
Creates an error event definition for this service task and returns a builder for the error event definition. This is only meaningful when theoperatonType(String)attribute has the valueexternal.- Returns:
- the error event definition builder object
-