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 Stringprotected booleanprotected List<EventListener>protected booleanprotected List<FlowableListener>protected List<FlowElement>protected Map<String,FlowElement> protected FlowElementprotected IOSpecificationprotected StringFields inherited from class org.flowable.bpmn.model.BaseElement
attributes, extensionElements, id, xmlColumnNumber, xmlRowNumber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArtifact(Artifact artifact) voidaddArtifactToMap(Artifact artifact) voidaddFlowElement(FlowElement element) voidaddFlowElementToMap(FlowElement element) clone()booleanfindAssociationsWithSourceRefRecursive(String sourceRef) protected List<Association>findAssociationsWithSourceRefRecursive(FlowElementsContainer flowElementsContainer, String sourceRef) findAssociationsWithTargetRefRecursive(String targetRef) protected List<Association>findAssociationsWithTargetRefRecursive(FlowElementsContainer flowElementsContainer, String targetRef) protected FlowElementfindFlowElementInList(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 FlowElementsContainergetFlowElementsContainer(FlowElementsContainer flowElementsContainer, String flowElementId) getLanes()getName()booleanbooleanvoidremoveArtifact(String artifactId) voidremoveFlowElement(String elementId) voidremoveFlowElementFromMap(String elementId) voidsetCandidateStarterGroups(List<String> candidateStarterGroups) voidsetCandidateStarterUsers(List<String> candidateStarterUsers) voidsetDataObjects(List<ValuedDataObject> dataObjects) voidsetDocumentation(String documentation) voidsetEnableEagerExecutionTreeFetching(boolean enableEagerExecutionTreeFetching) voidsetEventListeners(List<EventListener> eventListeners) voidsetExecutable(boolean executable) voidsetExecutionListeners(List<FlowableListener> executionListeners) voidsetFlowElementMap(Map<String, FlowElement> flowElementMap) voidsetInitialFlowElement(FlowElement initialFlowElement) voidsetIoSpecification(IOSpecification ioSpecification) voidvoidvoidMethods inherited from class org.flowable.bpmn.model.BaseElement
addAttribute, addExtensionElement, getAttributes, getAttributeValue, getExtensionElements, getId, getXmlColumnNumber, getXmlRowNumber, setAttributes, setExtensionElements, setId, setValues, setXmlColumnNumber, setXmlRowNumberMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getExecutionListenersin interfaceHasExecutionListeners
-
setExecutionListeners
- Specified by:
setExecutionListenersin interfaceHasExecutionListeners
-
getLanes
-
setLanes
-
getFlowElementMap
- Specified by:
getFlowElementMapin interfaceFlowElementsContainer
-
setFlowElementMap
-
containsFlowElementId
-
getFlowElement
- Specified by:
getFlowElementin 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:
getFlowElementsin interfaceFlowElementsContainer
-
addFlowElement
- Specified by:
addFlowElementin interfaceFlowElementsContainer
-
addFlowElementToMap
- Specified by:
addFlowElementToMapin interfaceFlowElementsContainer
-
removeFlowElement
- Specified by:
removeFlowElementin interfaceFlowElementsContainer
-
removeFlowElementFromMap
- Specified by:
removeFlowElementFromMapin interfaceFlowElementsContainer
-
getArtifact
- Specified by:
getArtifactin interfaceFlowElementsContainer
-
getArtifacts
- Specified by:
getArtifactsin interfaceFlowElementsContainer
-
getArtifactMap
- Specified by:
getArtifactMapin interfaceFlowElementsContainer
-
addArtifact
- Specified by:
addArtifactin interfaceFlowElementsContainer
-
addArtifactToMap
- Specified by:
addArtifactToMapin interfaceFlowElementsContainer
-
removeArtifact
- Specified by:
removeArtifactin 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:
clonein classBaseElement
-
setValues
-
getDataObjects
-
setDataObjects
-
getInitialFlowElement
-
setInitialFlowElement
-
isEnableEagerExecutionTreeFetching
public boolean isEnableEagerExecutionTreeFetching() -
setEnableEagerExecutionTreeFetching
public void setEnableEagerExecutionTreeFetching(boolean enableEagerExecutionTreeFetching)
-