Class AbstractProcessBuilder<B extends AbstractProcessBuilder<B>>
java.lang.Object
org.operaton.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,Process>
org.operaton.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,Process>
org.operaton.bpm.model.bpmn.builder.AbstractRootElementBuilder<B,Process>
org.operaton.bpm.model.bpmn.builder.AbstractCallableElementBuilder<B,Process>
org.operaton.bpm.model.bpmn.builder.AbstractProcessBuilder<B>
- Direct Known Subclasses:
ProcessBuilder
public abstract class AbstractProcessBuilder<B extends AbstractProcessBuilder<B>>
extends AbstractCallableElementBuilder<B,Process>
- Author:
- Sebastian Menski
-
Field Summary
Fields 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
ConstructorsModifierConstructorDescriptionprotectedAbstractProcessBuilder(BpmnModelInstance modelInstance, Process element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionclosed()Sets this closed.Sets this executable.operatonHistoryTimeToLive(Integer historyTimeToLive) Sets the operaton history time to live.operatonHistoryTimeToLiveString(String historyTimeToLive) Sets the operaton history time to live string.operatonJobPriority(String jobPriority) operatonStartableInTasklist(Boolean isStartableInTasklist) Set whenever the process is startable in TasklistoperatonTaskPriority(String taskPriority) Set the operaton task priority attribute.operatonVersionTag(String versionTag) Set to specify a version tag for the process definition.processType(ProcessType processType) Sets the process type for this.Methods inherited from class org.operaton.bpm.model.bpmn.builder.AbstractCallableElementBuilder
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
-
AbstractProcessBuilder
protected AbstractProcessBuilder(BpmnModelInstance modelInstance, Process element, Class<?> selfType)
-
-
Method Details
-
processType
Sets the process type for this.- Parameters:
processType- the process type to set- Returns:
- the builder object
-
closed
Sets this closed.- Returns:
- the builder object
-
executable
Sets this executable.- Returns:
- the builder object
-
operatonJobPriority
-
operatonTaskPriority
Set the operaton task priority attribute. The priority is only used for service tasks which have as type valueexternal- Parameters:
taskPriority- the task priority which should used for the external tasks- Returns:
- the builder object
-
operatonHistoryTimeToLive
Sets the operaton history time to live.- Parameters:
historyTimeToLive- value for history time to live, must be either null or non-negative integer.- Returns:
- the builder object
-
operatonHistoryTimeToLiveString
Sets the operaton history time to live string.- Parameters:
historyTimeToLive- string value of history time to live, can be null or a valid ISO-8601 value.- Returns:
- the builder object
-
operatonStartableInTasklist
Set whenever the process is startable in Tasklist- Parameters:
isStartableInTasklist- default value is true- Returns:
- the builder object
-
operatonVersionTag
Set to specify a version tag for the process definition.- Parameters:
versionTag- the version of the process definition- Returns:
- the builder object
-