Class AbstractServiceTaskBuilder<B extends AbstractServiceTaskBuilder<B>>
java.lang.Object
org.finos.fluxnova.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,ServiceTask>
org.finos.fluxnova.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,ServiceTask>
org.finos.fluxnova.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,ServiceTask>
org.finos.fluxnova.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,ServiceTask>
org.finos.fluxnova.bpm.model.bpmn.builder.AbstractActivityBuilder<B,ServiceTask>
org.finos.fluxnova.bpm.model.bpmn.builder.AbstractTaskBuilder<B,ServiceTask>
org.finos.fluxnova.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.finos.fluxnova.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
compensateBoundaryEvent, compensationStartedFields inherited from class org.finos.fluxnova.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACEFields inherited from class org.finos.fluxnova.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractServiceTaskBuilder(BpmnModelInstance modelInstance, ServiceTask element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionfluxnovaClass(Class camundaClass) Sets the camunda class attribute.fluxnovaClass(String fullQualifiedClassName) Sets the camunda class attribute.fluxnovaDelegateExpression(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.fluxnovaExpression(String camundaExpression) Sets the camunda expression attribute.fluxnovaExternalTask(String camundaTopic) Sets the camunda topic attribute and the camunda type attribute to the valueexternalinvalid input: '<'/code.fluxnovaResultVariable(String camundaResultVariable) Sets the camunda resultVariable attribute.fluxnovaTaskPriority(String taskPriority) Sets the camunda task priority attribute.fluxnovaTopic(String camundaTopic) Sets the camunda topic attribute.fluxnovaType(String camundaType) Sets the camunda type attribute.implementation(String implementation) Sets the implementation of the build service task.Methods inherited from class org.finos.fluxnova.bpm.model.bpmn.builder.AbstractTaskBuilder
fluxnovaAsync, fluxnovaAsyncMethods inherited from class org.finos.fluxnova.bpm.model.bpmn.builder.AbstractActivityBuilder
boundaryEvent, boundaryEvent, calculateXCoordinate, fluxnovaInputParameter, fluxnovaOutputParameter, multiInstance, setBoundaryEventCoordinatesMethods inherited from class org.finos.fluxnova.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, fluxnovaAsyncAfter, fluxnovaAsyncAfter, fluxnovaAsyncBefore, fluxnovaAsyncBefore, fluxnovaExclusive, fluxnovaExecutionListenerClass, fluxnovaExecutionListenerClass, fluxnovaExecutionListenerDelegateExpression, fluxnovaExecutionListenerExpression, fluxnovaFailedJobRetryTimeCycle, fluxnovaJobPriority, inclusiveGateway, inclusiveGateway, intermediateCatchEvent, intermediateCatchEvent, intermediateThrowEvent, intermediateThrowEvent, isBoundaryEventWithStartedCompensation, isCompensationHandler, manualTask, manualTask, moveToActivity, moveToLastGateway, moveToNode, notFluxnovaExclusive, parallelGateway, parallelGateway, receiveTask, receiveTask, scriptTask, scriptTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, subProcess, subProcess, transaction, transaction, userTask, userTaskMethods inherited from class org.finos.fluxnova.bpm.model.bpmn.builder.AbstractFlowElementBuilder
nameMethods inherited from class org.finos.fluxnova.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.finos.fluxnova.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
-
fluxnovaClass
Sets the camunda class attribute.- Parameters:
camundaClass- the class name to set- Returns:
- the builder object
-
fluxnovaClass
Sets the camunda class attribute.- Parameters:
camundaClass- the class name to set- Returns:
- the builder object
-
fluxnovaDelegateExpression
Sets the camunda delegateExpression attribute.- Parameters:
camundaExpression- the delegateExpression to set- Returns:
- the builder object
-
fluxnovaExpression
Sets the camunda expression attribute.- Parameters:
camundaExpression- the expression to set- Returns:
- the builder object
-
fluxnovaResultVariable
Sets the camunda resultVariable attribute.- Parameters:
camundaResultVariable- the name of the process variable- Returns:
- the builder object
-
fluxnovaTopic
Sets the camunda topic attribute. This is only meaningful when thefluxnovaType(String)attribute has the valueexternal.- Parameters:
camundaTopic- the topic to set- Returns:
- the build object
-
fluxnovaType
Sets the camunda type attribute.- Parameters:
camundaType- the type of the service task- Returns:
- the builder object
-
fluxnovaExternalTask
Sets the camunda topic attribute and the camunda type attribute to the valueexternalinvalid input: '<'/code. Reduces two calls tofluxnovaType(String)andfluxnovaTopic(String).- Parameters:
camundaTopic- the topic to set- Returns:
- the build object
-
fluxnovaTaskPriority
Sets the camunda task priority attribute. This is only meaningful when thefluxnovaType(String)attribute has the valueexternal.- Parameters:
taskPriority- the priority for the external task- Returns:
- the builder object
-
fluxnovaErrorEventDefinition
Creates an error event definition for this service task and returns a builder for the error event definition. This is only meaningful when thefluxnovaType(String)attribute has the valueexternal.- Returns:
- the error event definition builder object
-