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
-
Method Summary
Modifier and TypeMethodDescriptionAccessRules 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 workflowboolean
Optional auto grant setting to automatically approve requests or not, defaults to false.Optional description of the Workflow.boolean
Optional enabled state for workflow.getId()
Unique identifier of the Workflow.getName()
Unique human-readable name of the Workflow.long
Optional weight for workflow to specify it's priority in matching a request.void
setAccessRules
(List<AccessRule> in) 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 workflowvoid
setAutoGrant
(boolean in) Optional auto grant setting to automatically approve requests or not, defaults to false.void
setDescription
(String in) 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.
-
Constructor Details
-
Workflow
public Workflow()
-
-
Method Details
-
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
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
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.
-