Package com.strongdm.api
Class Workflows
java.lang.Object
com.strongdm.api.Workflows
- All Implemented Interfaces:
SnapshotWorkflows
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
be automatic approval or a set of users authorized to approve the requests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate creates a new workflow and requires a name for the workflow.Delete deletes an existing workflow.Get reads one workflow by ID.Lists existing workflows.Update updates an existing workflow.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the Workflows service which has the given deadline set for all method calls.
-
Constructor Details
-
Workflows
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the Workflows service which has the given deadline set for all method calls. -
create
Create creates a new workflow and requires a name for the workflow.- Throws:
RpcException
-
get
Get reads one workflow by ID.- Specified by:
get
in interfaceSnapshotWorkflows
- Throws:
RpcException
-
delete
Delete deletes an existing workflow.- Throws:
RpcException
-
update
Update updates an existing workflow.- Throws:
RpcException
-
list
Lists existing workflows.- Specified by:
list
in interfaceSnapshotWorkflows
- Throws:
RpcException
-