Class AbstractProcessBuilder<B extends AbstractProcessBuilder<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.AbstractRootElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractCallableElementBuilder<B,Process>
-
- org.camunda.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.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
AbstractProcessBuilder(BpmnModelInstance modelInstance, Process element, java.lang.Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
camundaHistoryTimeToLive(java.lang.Integer historyTimeToLive)
Sets the camunda history time to live.B
camundaJobPriority(java.lang.String jobPriority)
B
camundaStartableInTasklist(java.lang.Boolean isStartableInTasklist)
Set whenever the process is startable in TasklistB
camundaTaskPriority(java.lang.String taskPriority)
Set the camunda task priority attribute.B
camundaVersionTag(java.lang.String versionTag)
Set to specify a version tag for the process definition.B
closed()
Sets this closed.B
executable()
Sets this executable.B
processType(ProcessType processType)
Sets the process type for this.-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractCallableElementBuilder
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
-
AbstractProcessBuilder
protected AbstractProcessBuilder(BpmnModelInstance modelInstance, Process element, java.lang.Class<?> selfType)
-
-
Method Detail
-
processType
public B processType(ProcessType processType)
Sets the process type for this.- Parameters:
processType
- the process type to set- Returns:
- the builder object
-
closed
public B closed()
Sets this closed.- Returns:
- the builder object
-
executable
public B executable()
Sets this executable.- Returns:
- the builder object
-
camundaJobPriority
public B camundaJobPriority(java.lang.String jobPriority)
-
camundaTaskPriority
public B camundaTaskPriority(java.lang.String taskPriority)
Set the camunda 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
-
camundaHistoryTimeToLive
public B camundaHistoryTimeToLive(java.lang.Integer historyTimeToLive)
Sets the camunda history time to live.- Parameters:
historyTimeToLive
- value for history time to live, must be either null or non-negative integer.- Returns:
- the builder object
-
camundaStartableInTasklist
public B camundaStartableInTasklist(java.lang.Boolean isStartableInTasklist)
Set whenever the process is startable in Tasklist- Parameters:
isStartableInTasklist
- default value is true- Returns:
- the builder object
-
camundaVersionTag
public B camundaVersionTag(java.lang.String versionTag)
Set to specify a version tag for the process definition.- Parameters:
versionTag
- the version of the process definition- Returns:
- the builder object
-
-