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 Details

    • Workflow

      public Workflow()
  • Method Details

    • getAccessRequestFixedDuration

      public Duration getAccessRequestFixedDuration()
      Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    • setAccessRequestFixedDuration

      public void setAccessRequestFixedDuration(Duration in)
      Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    • getAccessRequestMaxDuration

      public Duration getAccessRequestMaxDuration()
      Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    • setAccessRequestMaxDuration

      public void setAccessRequestMaxDuration(Duration in)
      Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    • 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.