Package com.strongdm.api
Class Workflow
java.lang.Object
com.strongdm.api.Workflow
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 -
Method Summary
Modifier and TypeMethodDescriptionFixed Duration of access requests bound to this workflow.Maximum Duration of access requests bound to this workflow.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 workflowbooleanDeprecated.Optional description of the Workflow.booleanOptional enabled state for workflow.getId()Unique identifier of the Workflow.getName()Unique human-readable name of the Workflow.longOptional weight for workflow to specify it's priority in matching a request.voidFixed Duration of access requests bound to this workflow.voidMaximum Duration of access requests bound to this workflow.voidsetAccessRules(List<AccessRule> in) AccessRules is a list of access rules defining the resources this Workflow provides access to.voidOptional approval flow ID identifies an approval flow that linked to the workflowvoidsetAutoGrant(boolean in) Deprecated.voidsetDescription(String in) Optional description of the Workflow.voidsetEnabled(boolean in) Optional enabled state for workflow.voidUnique identifier of the Workflow.voidUnique human-readable name of the Workflow.voidsetWeight(long in) Optional weight for workflow to specify it's priority in matching a request.
-
Constructor Details
-
Workflow
public Workflow()
-
-
Method Details
-
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
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
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
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
AccessRules is a list of access rules defining the resources this Workflow provides access to. -
setAccessRules
AccessRules is a list of access rules defining the resources this Workflow provides access to. -
getApprovalFlowId
Optional approval flow ID identifies an approval flow that linked to the workflow -
setApprovalFlowId
Optional approval flow ID identifies an approval flow that linked to the workflow -
getAutoGrant
Deprecated.Optional auto grant setting to automatically approve requests or not, defaults to false. -
setAutoGrant
Deprecated.Optional auto grant setting to automatically approve requests or not, defaults to false. -
getDescription
Optional description of the Workflow. -
setDescription
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
Unique identifier of the Workflow. -
setId
Unique identifier of the Workflow. -
getName
Unique human-readable name of the Workflow. -
setName
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.
-