Interface WorkflowActivityRole

  • All Superinterfaces:
    Wrapper

    public interface WorkflowActivityRole
    extends Wrapper
    This interface represents a Workflow activity role. A Workflow activity role is a mapping between a Workflow activity and the roles that are assigned to it in this Workflow model.
    Author:
    ivol
    • Method Detail

      • getWorkflowActivity

        WorkflowActivity getWorkflowActivity()
        Returns the Workflow activity assosiated with this Workflow activity role.
        Returns:
        the Workflow activity assosiated with this Workflow activity role
      • setWorkflowActivity

        void setWorkflowActivity​(WorkflowActivity workflowActivity)
        Sets the workflow activity on this workflow activity role.
        Parameters:
        workflowActivity - the workflow activity for this workflow activity role
      • getRoles

        Role[] getRoles()
        Returns the roles assosiated with this Workflow activity role.
        Returns:
        the roles assosiated with this Workflow activity role
      • setRoles

        void setRoles​(Role[] roles)
        Sets the roles associated with this Workflow activity roles object.
        Parameters:
        roles - The roles to set
      • addRole

        void addRole​(Role role)
        Adds a role to the Workflow activity roles object.
        Parameters:
        role - The role to add