Class ActionsImpl

    • Constructor Detail

      • ActionsImpl

        public ActionsImpl()
        Constructor
    • Method Detail

      • addAction

        public void addAction​(Action action)
        Description copied from interface: Actions
        Add an action to the collection
        Specified by:
        addAction in interface Actions
        Parameters:
        action - to be added
      • createAction

        public Action createAction()
        Description copied from interface: Actions
        Create an Action
        Specified by:
        createAction in interface Actions
        Returns:
        an object implementing Action
      • getAction

        public Action getAction​(String name)
                         throws WorkflowException
        Description copied from interface: Actions
        Get the action definition with given name
        Specified by:
        getAction in interface Actions
        Parameters:
        name - action name
        Returns:
        wanted action definition
        Throws:
        WorkflowException - if an error occurs while getting the action with the specified name.
      • getActions

        public Action[] getActions()
        Description copied from interface: Actions
        Get the actions defined for this process model
        Specified by:
        getActions in interface Actions
        Returns:
        actions defined for this process model
      • iterateAction

        public Iterator<Action> iterateAction()
        Description copied from interface: Actions
        Iterate through the Action objects
        Specified by:
        iterateAction in interface Actions
        Returns:
        an iterator
      • removeAction

        public void removeAction​(String strActionName)
                          throws WorkflowException
        Description copied from interface: Actions
        Remove an action from the collection
        Specified by:
        removeAction in interface Actions
        Parameters:
        strActionName - the name of the action to be removed.
        Throws:
        WorkflowException - when the action cannot be found