Class Process

    • Field Detail

      • name

        protected java.lang.String name
      • executable

        protected boolean executable
      • documentation

        protected java.lang.String documentation
      • executionListeners

        protected java.util.List<ActivitiListener> executionListeners
      • lanes

        protected java.util.List<Lane> lanes
      • flowElementList

        protected java.util.List<FlowElement> flowElementList
      • artifactList

        protected java.util.List<Artifact> artifactList
      • candidateStarterUsers

        protected java.util.List<java.lang.String> candidateStarterUsers
      • candidateStarterGroups

        protected java.util.List<java.lang.String> candidateStarterGroups
      • eventListeners

        protected java.util.List<EventListener> eventListeners
      • flowElementMap

        protected java.util.Map<java.lang.String,​FlowElement> flowElementMap
      • initialFlowElement

        protected FlowElement initialFlowElement
    • Constructor Detail

      • Process

        public Process()
    • Method Detail

      • getDocumentation

        public java.lang.String getDocumentation()
      • setDocumentation

        public void setDocumentation​(java.lang.String documentation)
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • isExecutable

        public boolean isExecutable()
      • setExecutable

        public void setExecutable​(boolean executable)
      • setIoSpecification

        public void setIoSpecification​(IOSpecification ioSpecification)
      • getLanes

        public java.util.List<Lane> getLanes()
      • setLanes

        public void setLanes​(java.util.List<Lane> lanes)
      • setFlowElementMap

        public void setFlowElementMap​(java.util.Map<java.lang.String,​FlowElement> flowElementMap)
      • containsFlowElementId

        public boolean containsFlowElementId​(java.lang.String id)
      • getFlowElement

        public FlowElement getFlowElement​(java.lang.String flowElementId,
                                          boolean searchRecurive)
        Parameters:
        searchRecurive - : searches the whole process, including subprocesses
      • findAssociationsWithSourceRefRecursive

        public java.util.List<Association> findAssociationsWithSourceRefRecursive​(java.lang.String sourceRef)
      • findAssociationsWithSourceRefRecursive

        protected java.util.List<Association> findAssociationsWithSourceRefRecursive​(FlowElementsContainer flowElementsContainer,
                                                                                     java.lang.String sourceRef)
      • findAssociationsWithTargetRefRecursive

        public java.util.List<Association> findAssociationsWithTargetRefRecursive​(java.lang.String targetRef)
      • findAssociationsWithTargetRefRecursive

        protected java.util.List<Association> findAssociationsWithTargetRefRecursive​(FlowElementsContainer flowElementsContainer,
                                                                                     java.lang.String targetRef)
      • getFlowElementsContainer

        public FlowElementsContainer getFlowElementsContainer​(java.lang.String flowElementId)
        Searches the whole process, including subprocesses
      • findFlowElementInList

        protected FlowElement findFlowElementInList​(java.lang.String flowElementId)
      • getCandidateStarterUsers

        public java.util.List<java.lang.String> getCandidateStarterUsers()
      • setCandidateStarterUsers

        public void setCandidateStarterUsers​(java.util.List<java.lang.String> candidateStarterUsers)
      • getCandidateStarterGroups

        public java.util.List<java.lang.String> getCandidateStarterGroups()
      • setCandidateStarterGroups

        public void setCandidateStarterGroups​(java.util.List<java.lang.String> candidateStarterGroups)
      • getEventListeners

        public java.util.List<EventListener> getEventListeners()
      • setEventListeners

        public void setEventListeners​(java.util.List<EventListener> eventListeners)
      • findFlowElementsOfType

        public <FlowElementType extends FlowElement> java.util.List<FlowElementType> findFlowElementsOfType​(java.lang.Class<FlowElementType> type)
      • findFlowElementsOfType

        public <FlowElementType extends FlowElement> java.util.List<FlowElementType> findFlowElementsOfType​(java.lang.Class<FlowElementType> type,
                                                                                                            boolean goIntoSubprocesses)
      • findFlowElementsInSubProcessOfType

        public <FlowElementType extends FlowElement> java.util.List<FlowElementType> findFlowElementsInSubProcessOfType​(SubProcess subProcess,
                                                                                                                        java.lang.Class<FlowElementType> type)
      • findFlowElementsInSubProcessOfType

        public <FlowElementType extends FlowElement> java.util.List<FlowElementType> findFlowElementsInSubProcessOfType​(SubProcess subProcess,
                                                                                                                        java.lang.Class<FlowElementType> type,
                                                                                                                        boolean goIntoSubprocesses)
      • setValues

        public void setValues​(Process otherElement)
      • setDataObjects

        public void setDataObjects​(java.util.List<ValuedDataObject> dataObjects)
      • getInitialFlowElement

        public FlowElement getInitialFlowElement()
      • setInitialFlowElement

        public void setInitialFlowElement​(FlowElement initialFlowElement)