Interface Actions

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    ActionsImpl

    public interface Actions
    extends Serializable
    Interface describing a representation of the <actions> element of a Process Model.
    • Method Detail

      • iterateAction

        Iterator<Action> iterateAction()
        Iterate through the Action objects
        Returns:
        an iterator
      • createAction

        Action createAction()
        Create an Action
        Returns:
        an object implementing Action
      • addAction

        void addAction​(Action action)
        Add an action to the collection
        Parameters:
        action - to be added
      • getActions

        Action[] getActions()
        Get the actions defined for this process model
        Returns:
        actions defined for this process model
      • getAction

        Action getAction​(String name)
                  throws WorkflowException
        Get the action definition with given name
        Parameters:
        name - action name
        Returns:
        wanted action definition
        Throws:
        WorkflowException - if an error occurs while getting the action with the specified name.
      • removeAction

        void removeAction​(String strActionName)
                   throws WorkflowException
        Remove an action from the collection
        Parameters:
        strActionName - the name of the action to be removed.
        Throws:
        WorkflowException - when the action cannot be found