Class Workflow

java.lang.Object
com.strongdm.api.Workflow

public class Workflow extends Object
Workflows are the collection of rules that define the resources to which access can be requested, the users that can request that access, and the mechanism for approving those requests which can either but automatic approval or a set of users authorized to approve the requests.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    AccessRules is a list of access rules defining the resources this Workflow provides access to.
    Optional approval flow ID identifies an approval flow that linked to the workflow
    boolean
    Optional auto grant setting to automatically approve requests or not, defaults to false.
    Optional description of the Workflow.
    boolean
    Optional enabled state for workflow.
    Unique identifier of the Workflow.
    Unique human-readable name of the Workflow.
    long
    Optional weight for workflow to specify it's priority in matching a request.
    void
    AccessRules is a list of access rules defining the resources this Workflow provides access to.
    void
    Optional approval flow ID identifies an approval flow that linked to the workflow
    void
    setAutoGrant(boolean in)
    Optional auto grant setting to automatically approve requests or not, defaults to false.
    void
    Optional description of the Workflow.
    void
    setEnabled(boolean in)
    Optional enabled state for workflow.
    void
    Unique identifier of the Workflow.
    void
    Unique human-readable name of the Workflow.
    void
    setWeight(long in)
    Optional weight for workflow to specify it's priority in matching a request.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Workflow

      public Workflow()
  • Method Details

    • getAccessRules

      public List<AccessRule> getAccessRules()
      AccessRules is a list of access rules defining the resources this Workflow provides access to.
    • setAccessRules

      public void setAccessRules(List<AccessRule> in)
      AccessRules is a list of access rules defining the resources this Workflow provides access to.
    • getApprovalFlowId

      public String getApprovalFlowId()
      Optional approval flow ID identifies an approval flow that linked to the workflow
    • setApprovalFlowId

      public void setApprovalFlowId(String in)
      Optional approval flow ID identifies an approval flow that linked to the workflow
    • getAutoGrant

      public boolean getAutoGrant()
      Optional auto grant setting to automatically approve requests or not, defaults to false.
    • setAutoGrant

      public void setAutoGrant(boolean in)
      Optional auto grant setting to automatically approve requests or not, defaults to false.
    • getDescription

      public String getDescription()
      Optional description of the Workflow.
    • setDescription

      public void setDescription(String in)
      Optional description of the Workflow.
    • getEnabled

      public boolean getEnabled()
      Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    • setEnabled

      public void setEnabled(boolean in)
      Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    • getId

      public String getId()
      Unique identifier of the Workflow.
    • setId

      public void setId(String in)
      Unique identifier of the Workflow.
    • getName

      public String getName()
      Unique human-readable name of the Workflow.
    • setName

      public void setName(String in)
      Unique human-readable name of the Workflow.
    • getWeight

      public long getWeight()
      Optional weight for workflow to specify it's priority in matching a request.
    • setWeight

      public void setWeight(long in)
      Optional weight for workflow to specify it's priority in matching a request.