public class Process extends BaseElement implements FlowElementsContainer, HasExecutionListeners
Modifier and Type | Field and Description |
---|---|
protected List<Artifact> |
artifactList |
protected List<String> |
candidateStarterGroups |
protected List<String> |
candidateStarterUsers |
protected List<ValuedDataObject> |
dataObjects |
protected String |
documentation |
protected List<EventListener> |
eventListeners |
protected boolean |
executable |
protected List<ActivitiListener> |
executionListeners |
protected List<FlowElement> |
flowElementList |
protected IOSpecification |
ioSpecification |
protected List<Lane> |
lanes |
protected String |
name |
attributes, extensionElements, id, xmlColumnNumber, xmlRowNumber
Constructor and Description |
---|
Process() |
addAttribute, addExtensionElement, getAttributes, getAttributeValue, getExtensionElements, getId, getXmlColumnNumber, getXmlRowNumber, setAttributes, setExtensionElements, setId, setValues, setXmlColumnNumber, setXmlRowNumber
protected String name
protected boolean executable
protected String documentation
protected IOSpecification ioSpecification
protected List<ActivitiListener> executionListeners
protected List<FlowElement> flowElementList
protected List<ValuedDataObject> dataObjects
protected List<EventListener> eventListeners
public String getDocumentation()
public void setDocumentation(String documentation)
public String getName()
public void setName(String name)
public boolean isExecutable()
public void setExecutable(boolean executable)
public IOSpecification getIoSpecification()
public void setIoSpecification(IOSpecification ioSpecification)
public List<ActivitiListener> getExecutionListeners()
getExecutionListeners
in interface HasExecutionListeners
public void setExecutionListeners(List<ActivitiListener> executionListeners)
setExecutionListeners
in interface HasExecutionListeners
public FlowElement getFlowElement(String flowElementId)
getFlowElement
in interface FlowElementsContainer
public FlowElement getFlowElementRecursive(String flowElementId)
getFlowElements(String)
protected FlowElement getFlowElementRecursive(FlowElementsContainer flowElementsContainer, String flowElementId)
public FlowElementsContainer getFlowElementsContainerRecursive(String flowElementId)
protected FlowElementsContainer getFlowElementsContainerRecursive(FlowElementsContainer flowElementsContainer, String flowElementId)
protected FlowElement findFlowElementInList(String flowElementId)
public Collection<FlowElement> getFlowElements()
getFlowElements
in interface FlowElementsContainer
public void addFlowElement(FlowElement element)
addFlowElement
in interface FlowElementsContainer
public void removeFlowElement(String elementId)
removeFlowElement
in interface FlowElementsContainer
public Artifact getArtifact(String id)
getArtifact
in interface FlowElementsContainer
public Collection<Artifact> getArtifacts()
getArtifacts
in interface FlowElementsContainer
public void addArtifact(Artifact artifact)
addArtifact
in interface FlowElementsContainer
public void removeArtifact(String artifactId)
removeArtifact
in interface FlowElementsContainer
public void setCandidateStarterGroups(List<String> candidateStarterGroups)
public List<EventListener> getEventListeners()
public void setEventListeners(List<EventListener> eventListeners)
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsOfType(Class<FlowElementType> type)
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsOfType(Class<FlowElementType> type, boolean goIntoSubprocesses)
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsInSubProcessOfType(SubProcess subProcess, Class<FlowElementType> type)
public <FlowElementType extends FlowElement> List<FlowElementType> findFlowElementsInSubProcessOfType(SubProcess subProcess, Class<FlowElementType> type, boolean goIntoSubprocesses)
public FlowElementsContainer findParent(FlowElement childElement)
public FlowElementsContainer findParent(FlowElement childElement, FlowElementsContainer flowElementsContainer)
public Process clone()
clone
in class BaseElement
public void setValues(Process otherElement)
public List<ValuedDataObject> getDataObjects()
public void setDataObjects(List<ValuedDataObject> dataObjects)
Copyright © 2016 Alfresco. All rights reserved.