Class ProcessImpl
- java.lang.Object
-
- All Implemented Interfaces:
BaseElement
,BpmnModelElementInstance
,CallableElement
,Process
,RootElement
,ModelElementInstance
public class ProcessImpl extends CallableElementImpl implements Process
The BPMN process element- Author:
- Daniel Meyer, Sebastian Menski
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.CallableElementImpl
ioBindingCollection, ioSpecificationChild, nameAttribute, supportedInterfaceRefCollection
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
documentationCollection, extensionElementsChild, idAttribute
-
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
-
-
Constructor Summary
Constructors Constructor Description ProcessImpl(ModelTypeInstanceContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessBuilder
builder()
Returns a new fluent builder for the element if implemented.java.util.Collection<Artifact>
getArtifacts()
Auditing
getAuditing()
java.lang.String
getCamundaCandidateStarterGroups()
camunda extensionsjava.util.List<java.lang.String>
getCamundaCandidateStarterGroupsList()
java.lang.String
getCamundaCandidateStarterUsers()
java.util.List<java.lang.String>
getCamundaCandidateStarterUsersList()
java.lang.Integer
getCamundaHistoryTimeToLive()
java.lang.String
getCamundaHistoryTimeToLiveString()
java.lang.String
getCamundaJobPriority()
java.lang.String
getCamundaTaskPriority()
java.lang.String
getCamundaVersionTag()
java.util.Collection<CorrelationSubscription>
getCorrelationSubscriptions()
java.util.Collection<FlowElement>
getFlowElements()
java.util.Collection<LaneSet>
getLaneSets()
Monitoring
getMonitoring()
ProcessType
getProcessType()
java.util.Collection<Property>
getProperties()
java.util.Collection<ResourceRole>
getResourceRoles()
java.util.Collection<Process>
getSupports()
java.lang.Boolean
isCamundaStartableInTasklist()
boolean
isClosed()
boolean
isExecutable()
static void
registerType(ModelBuilder modelBuilder)
void
setAuditing(Auditing auditing)
void
setCamundaCandidateStarterGroups(java.lang.String camundaCandidateStarterGroups)
void
setCamundaCandidateStarterGroupsList(java.util.List<java.lang.String> camundaCandidateStarterGroupsList)
void
setCamundaCandidateStarterUsers(java.lang.String camundaCandidateStarterUsers)
void
setCamundaCandidateStarterUsersList(java.util.List<java.lang.String> camundaCandidateStarterUsersList)
void
setCamundaHistoryTimeToLive(java.lang.Integer historyTimeToLive)
void
setCamundaHistoryTimeToLiveString(java.lang.String historyTimeToLive)
void
setCamundaIsStartableInTasklist(java.lang.Boolean isStartableInTasklist)
void
setCamundaJobPriority(java.lang.String jobPriority)
void
setCamundaTaskPriority(java.lang.String taskPriority)
void
setCamundaVersionTag(java.lang.String versionTag)
void
setClosed(boolean closed)
void
setExecutable(boolean executable)
void
setMonitoring(Monitoring monitoring)
void
setProcessType(ProcessType processType)
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.CallableElementImpl
getIoBindings, getIoSpecification, getName, getSupportedInterfaces, setIoSpecification, setName
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
getDiagramElement, getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, setExtensionElements, setId
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
getScope, isScope
-
Methods inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
addChildElement, asSet, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BaseElement
getDiagramElement, getDocumentations, getExtensionElements, getId, setExtensionElements, setId
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BpmnModelElementInstance
getScope, isScope
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.CallableElement
getIoBindings, getIoSpecification, getName, getSupportedInterfaces, setIoSpecification, setName
-
Methods inherited from interface org.camunda.bpm.model.xml.instance.ModelElementInstance
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
-
-
-
-
Field Detail
-
processTypeAttribute
protected static Attribute<ProcessType> processTypeAttribute
-
isClosedAttribute
protected static Attribute<java.lang.Boolean> isClosedAttribute
-
isExecutableAttribute
protected static Attribute<java.lang.Boolean> isExecutableAttribute
-
auditingChild
protected static ChildElement<Auditing> auditingChild
-
monitoringChild
protected static ChildElement<Monitoring> monitoringChild
-
propertyCollection
protected static ChildElementCollection<Property> propertyCollection
-
laneSetCollection
protected static ChildElementCollection<LaneSet> laneSetCollection
-
flowElementCollection
protected static ChildElementCollection<FlowElement> flowElementCollection
-
artifactCollection
protected static ChildElementCollection<Artifact> artifactCollection
-
resourceRoleCollection
protected static ChildElementCollection<ResourceRole> resourceRoleCollection
-
correlationSubscriptionCollection
protected static ChildElementCollection<CorrelationSubscription> correlationSubscriptionCollection
-
supportsCollection
protected static ElementReferenceCollection<Process,Supports> supportsCollection
-
camundaCandidateStarterGroupsAttribute
protected static Attribute<java.lang.String> camundaCandidateStarterGroupsAttribute
camunda extensions
-
camundaCandidateStarterUsersAttribute
protected static Attribute<java.lang.String> camundaCandidateStarterUsersAttribute
-
camundaJobPriorityAttribute
protected static Attribute<java.lang.String> camundaJobPriorityAttribute
-
camundaTaskPriorityAttribute
protected static Attribute<java.lang.String> camundaTaskPriorityAttribute
-
camundaHistoryTimeToLiveAttribute
protected static Attribute<java.lang.String> camundaHistoryTimeToLiveAttribute
-
camundaIsStartableInTasklistAttribute
protected static Attribute<java.lang.Boolean> camundaIsStartableInTasklistAttribute
-
camundaVersionTagAttribute
protected static Attribute<java.lang.String> camundaVersionTagAttribute
-
-
Constructor Detail
-
ProcessImpl
public ProcessImpl(ModelTypeInstanceContext context)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
builder
public ProcessBuilder builder()
Description copied from interface:BpmnModelElementInstance
Returns a new fluent builder for the element if implemented.- Specified by:
builder
in interfaceBpmnModelElementInstance
- Specified by:
builder
in interfaceProcess
- Overrides:
builder
in classBpmnModelElementInstanceImpl
- Returns:
- the builder object
-
getProcessType
public ProcessType getProcessType()
- Specified by:
getProcessType
in interfaceProcess
-
setProcessType
public void setProcessType(ProcessType processType)
- Specified by:
setProcessType
in interfaceProcess
-
isExecutable
public boolean isExecutable()
- Specified by:
isExecutable
in interfaceProcess
-
setExecutable
public void setExecutable(boolean executable)
- Specified by:
setExecutable
in interfaceProcess
-
getAuditing
public Auditing getAuditing()
- Specified by:
getAuditing
in interfaceProcess
-
setAuditing
public void setAuditing(Auditing auditing)
- Specified by:
setAuditing
in interfaceProcess
-
getMonitoring
public Monitoring getMonitoring()
- Specified by:
getMonitoring
in interfaceProcess
-
setMonitoring
public void setMonitoring(Monitoring monitoring)
- Specified by:
setMonitoring
in interfaceProcess
-
getProperties
public java.util.Collection<Property> getProperties()
- Specified by:
getProperties
in interfaceProcess
-
getLaneSets
public java.util.Collection<LaneSet> getLaneSets()
- Specified by:
getLaneSets
in interfaceProcess
-
getFlowElements
public java.util.Collection<FlowElement> getFlowElements()
- Specified by:
getFlowElements
in interfaceProcess
-
getArtifacts
public java.util.Collection<Artifact> getArtifacts()
- Specified by:
getArtifacts
in interfaceProcess
-
getCorrelationSubscriptions
public java.util.Collection<CorrelationSubscription> getCorrelationSubscriptions()
- Specified by:
getCorrelationSubscriptions
in interfaceProcess
-
getResourceRoles
public java.util.Collection<ResourceRole> getResourceRoles()
- Specified by:
getResourceRoles
in interfaceProcess
-
getSupports
public java.util.Collection<Process> getSupports()
- Specified by:
getSupports
in interfaceProcess
-
getCamundaCandidateStarterGroups
public java.lang.String getCamundaCandidateStarterGroups()
camunda extensions- Specified by:
getCamundaCandidateStarterGroups
in interfaceProcess
-
setCamundaCandidateStarterGroups
public void setCamundaCandidateStarterGroups(java.lang.String camundaCandidateStarterGroups)
- Specified by:
setCamundaCandidateStarterGroups
in interfaceProcess
-
getCamundaCandidateStarterGroupsList
public java.util.List<java.lang.String> getCamundaCandidateStarterGroupsList()
- Specified by:
getCamundaCandidateStarterGroupsList
in interfaceProcess
-
setCamundaCandidateStarterGroupsList
public void setCamundaCandidateStarterGroupsList(java.util.List<java.lang.String> camundaCandidateStarterGroupsList)
- Specified by:
setCamundaCandidateStarterGroupsList
in interfaceProcess
-
getCamundaCandidateStarterUsers
public java.lang.String getCamundaCandidateStarterUsers()
- Specified by:
getCamundaCandidateStarterUsers
in interfaceProcess
-
setCamundaCandidateStarterUsers
public void setCamundaCandidateStarterUsers(java.lang.String camundaCandidateStarterUsers)
- Specified by:
setCamundaCandidateStarterUsers
in interfaceProcess
-
getCamundaCandidateStarterUsersList
public java.util.List<java.lang.String> getCamundaCandidateStarterUsersList()
- Specified by:
getCamundaCandidateStarterUsersList
in interfaceProcess
-
setCamundaCandidateStarterUsersList
public void setCamundaCandidateStarterUsersList(java.util.List<java.lang.String> camundaCandidateStarterUsersList)
- Specified by:
setCamundaCandidateStarterUsersList
in interfaceProcess
-
getCamundaJobPriority
public java.lang.String getCamundaJobPriority()
- Specified by:
getCamundaJobPriority
in interfaceProcess
-
setCamundaJobPriority
public void setCamundaJobPriority(java.lang.String jobPriority)
- Specified by:
setCamundaJobPriority
in interfaceProcess
-
getCamundaTaskPriority
public java.lang.String getCamundaTaskPriority()
- Specified by:
getCamundaTaskPriority
in interfaceProcess
-
setCamundaTaskPriority
public void setCamundaTaskPriority(java.lang.String taskPriority)
- Specified by:
setCamundaTaskPriority
in interfaceProcess
-
getCamundaHistoryTimeToLive
public java.lang.Integer getCamundaHistoryTimeToLive()
- Specified by:
getCamundaHistoryTimeToLive
in interfaceProcess
-
setCamundaHistoryTimeToLive
public void setCamundaHistoryTimeToLive(java.lang.Integer historyTimeToLive)
- Specified by:
setCamundaHistoryTimeToLive
in interfaceProcess
-
getCamundaHistoryTimeToLiveString
public java.lang.String getCamundaHistoryTimeToLiveString()
- Specified by:
getCamundaHistoryTimeToLiveString
in interfaceProcess
-
setCamundaHistoryTimeToLiveString
public void setCamundaHistoryTimeToLiveString(java.lang.String historyTimeToLive)
- Specified by:
setCamundaHistoryTimeToLiveString
in interfaceProcess
-
isCamundaStartableInTasklist
public java.lang.Boolean isCamundaStartableInTasklist()
- Specified by:
isCamundaStartableInTasklist
in interfaceProcess
-
setCamundaIsStartableInTasklist
public void setCamundaIsStartableInTasklist(java.lang.Boolean isStartableInTasklist)
- Specified by:
setCamundaIsStartableInTasklist
in interfaceProcess
-
getCamundaVersionTag
public java.lang.String getCamundaVersionTag()
- Specified by:
getCamundaVersionTag
in interfaceProcess
-
setCamundaVersionTag
public void setCamundaVersionTag(java.lang.String versionTag)
- Specified by:
setCamundaVersionTag
in interfaceProcess
-
-