Package org.flowable.bpmn.model
Class Process
java.lang.Object
org.flowable.bpmn.model.BaseElement
org.flowable.bpmn.model.Process
- All Implemented Interfaces:
FlowElementsContainer
,HasExecutionListeners
,HasExtensionAttributes
- Author:
- Tijs Rademakers, Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ValuedDataObject>
protected String
protected boolean
protected List<EventListener>
protected boolean
protected List<FlowableListener>
protected List<FlowElement>
protected Map<String,
FlowElement> protected FlowElement
protected IOSpecification
protected String
Fields inherited from class org.flowable.bpmn.model.BaseElement
attributes, extensionElements, id, xmlColumnNumber, xmlRowNumber
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addArtifact
(Artifact artifact) void
addArtifactToMap
(Artifact artifact) void
addFlowElement
(FlowElement element) void
addFlowElementToMap
(FlowElement element) clone()
boolean
findAssociationsWithSourceRefRecursive
(String sourceRef) protected List<Association>
findAssociationsWithSourceRefRecursive
(FlowElementsContainer flowElementsContainer, String sourceRef) findAssociationsWithTargetRefRecursive
(String targetRef) protected List<Association>
findAssociationsWithTargetRefRecursive
(FlowElementsContainer flowElementsContainer, String targetRef) protected FlowElement
findFlowElementInList
(String flowElementId) <FlowElementType extends FlowElement>
List<FlowElementType>findFlowElementsInSubProcessOfType
(SubProcess subProcess, Class<FlowElementType> type) <FlowElementType extends FlowElement>
List<FlowElementType>findFlowElementsInSubProcessOfType
(SubProcess subProcess, Class<FlowElementType> type, boolean goIntoSubprocesses) <FlowElementType extends FlowElement>
List<FlowElementType>findFlowElementsOfType
(Class<FlowElementType> type) <FlowElementType extends FlowElement>
List<FlowElementType>findFlowElementsOfType
(Class<FlowElementType> type, boolean goIntoSubprocesses) findParent
(FlowElement childElement) findParent
(FlowElement childElement, FlowElementsContainer flowElementsContainer) getArtifact
(String id) getFlowElement
(String flowElementId) getFlowElement
(String flowElementId, boolean searchRecursive) getFlowElementsContainer
(String flowElementId) Searches the whole process, including subprocessesprotected FlowElementsContainer
getFlowElementsContainer
(FlowElementsContainer flowElementsContainer, String flowElementId) getLanes()
getName()
boolean
boolean
void
removeArtifact
(String artifactId) void
removeFlowElement
(String elementId) void
removeFlowElementFromMap
(String elementId) void
setCandidateStarterGroups
(List<String> candidateStarterGroups) void
setCandidateStarterUsers
(List<String> candidateStarterUsers) void
setDataObjects
(List<ValuedDataObject> dataObjects) void
setDocumentation
(String documentation) void
setEnableEagerExecutionTreeFetching
(boolean enableEagerExecutionTreeFetching) void
setEventListeners
(List<EventListener> eventListeners) void
setExecutable
(boolean executable) void
setExecutionListeners
(List<FlowableListener> executionListeners) void
setFlowElementMap
(Map<String, FlowElement> flowElementMap) void
setInitialFlowElement
(FlowElement initialFlowElement) void
setIoSpecification
(IOSpecification ioSpecification) void
void
void
Methods inherited from class org.flowable.bpmn.model.BaseElement
addAttribute, addExtensionElement, getAttributes, getAttributeValue, getExtensionElements, getId, getXmlColumnNumber, getXmlRowNumber, setAttributes, setExtensionElements, setId, setValues, setXmlColumnNumber, setXmlRowNumber
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.bpmn.model.FlowElementsContainer
getId
-
Field Details
-
name
-
executable
protected boolean executable -
documentation
-
ioSpecification
-
executionListeners
-
lanes
-
flowElementList
-
dataObjects
-
artifactList
-
candidateStarterUsers
-
candidateStarterGroups
-
eventListeners
-
flowElementMap
-
artifactMap
-
initialFlowElement
-
enableEagerExecutionTreeFetching
protected boolean enableEagerExecutionTreeFetching
-
-
Constructor Details
-
Process
public Process()
-
-
Method Details
-
getDocumentation
-
setDocumentation
-
getName
-
setName
-
isExecutable
public boolean isExecutable() -
setExecutable
public void setExecutable(boolean executable) -
getIoSpecification
-
setIoSpecification
-
getExecutionListeners
- Specified by:
getExecutionListeners
in interfaceHasExecutionListeners
-
setExecutionListeners
- Specified by:
setExecutionListeners
in interfaceHasExecutionListeners
-
getLanes
-
setLanes
-
getFlowElementMap
- Specified by:
getFlowElementMap
in interfaceFlowElementsContainer
-
setFlowElementMap
-
containsFlowElementId
-
getFlowElement
- Specified by:
getFlowElement
in interfaceFlowElementsContainer
-
getFlowElement
- Parameters:
searchRecursive
- searches the whole process, including subprocesses
-
findAssociationsWithSourceRefRecursive
-
findAssociationsWithSourceRefRecursive
protected List<Association> findAssociationsWithSourceRefRecursive(FlowElementsContainer flowElementsContainer, String sourceRef) -
findAssociationsWithTargetRefRecursive
-
findAssociationsWithTargetRefRecursive
protected List<Association> findAssociationsWithTargetRefRecursive(FlowElementsContainer flowElementsContainer, String targetRef) -
getFlowElementsContainer
Searches the whole process, including subprocesses -
getFlowElementsContainer
protected FlowElementsContainer getFlowElementsContainer(FlowElementsContainer flowElementsContainer, String flowElementId) -
findFlowElementInList
-
getFlowElements
- Specified by:
getFlowElements
in interfaceFlowElementsContainer
-
addFlowElement
- Specified by:
addFlowElement
in interfaceFlowElementsContainer
-
addFlowElementToMap
- Specified by:
addFlowElementToMap
in interfaceFlowElementsContainer
-
removeFlowElement
- Specified by:
removeFlowElement
in interfaceFlowElementsContainer
-
removeFlowElementFromMap
- Specified by:
removeFlowElementFromMap
in interfaceFlowElementsContainer
-
getArtifact
- Specified by:
getArtifact
in interfaceFlowElementsContainer
-
getArtifacts
- Specified by:
getArtifacts
in interfaceFlowElementsContainer
-
getArtifactMap
- Specified by:
getArtifactMap
in interfaceFlowElementsContainer
-
addArtifact
- Specified by:
addArtifact
in interfaceFlowElementsContainer
-
addArtifactToMap
- Specified by:
addArtifactToMap
in interfaceFlowElementsContainer
-
removeArtifact
- Specified by:
removeArtifact
in interfaceFlowElementsContainer
-
getCandidateStarterUsers
-
setCandidateStarterUsers
-
getCandidateStarterGroups
-
setCandidateStarterGroups
-
getEventListeners
-
setEventListeners
-
findFlowElementsOfType
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsOfType(Class<FlowElementType> type) -
findFlowElementsOfType
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsOfType(Class<FlowElementType> type, boolean goIntoSubprocesses) -
findFlowElementsInSubProcessOfType
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsInSubProcessOfType(SubProcess subProcess, Class<FlowElementType> type) -
findFlowElementsInSubProcessOfType
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsInSubProcessOfType(SubProcess subProcess, Class<FlowElementType> type, boolean goIntoSubprocesses) -
findParent
-
findParent
public FlowElementsContainer findParent(FlowElement childElement, FlowElementsContainer flowElementsContainer) -
clone
- Specified by:
clone
in classBaseElement
-
setValues
-
getDataObjects
-
setDataObjects
-
getInitialFlowElement
-
setInitialFlowElement
-
isEnableEagerExecutionTreeFetching
public boolean isEnableEagerExecutionTreeFetching() -
setEnableEagerExecutionTreeFetching
public void setEnableEagerExecutionTreeFetching(boolean enableEagerExecutionTreeFetching)
-