Package com.strongdm.api
Class ApprovalWorkflows
java.lang.Object
com.strongdm.api.ApprovalWorkflows
- All Implemented Interfaces:
SnapshotApprovalWorkflows
ApprovalWorkflows are the mechanism by which requests for access can be viewed by authorized
approvers and be approved or denied.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ApprovalWorkflow approvalWorkflow) Create creates a new approval workflow and requires a name and approval mode for the approval workflow.Delete deletes an existing approval workflow.Get reads one approval workflow by ID.Lists existing approval workflows.update
(ApprovalWorkflow approvalWorkflow) Update updates an existing approval workflow.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the ApprovalWorkflows service which has the given deadline set for all method calls.
-
Constructor Details
-
ApprovalWorkflows
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the ApprovalWorkflows service which has the given deadline set for all method calls. -
create
Create creates a new approval workflow and requires a name and approval mode for the approval workflow.- Throws:
RpcException
-
get
Get reads one approval workflow by ID.- Specified by:
get
in interfaceSnapshotApprovalWorkflows
- Throws:
RpcException
-
delete
Delete deletes an existing approval workflow.- Throws:
RpcException
-
update
Update updates an existing approval workflow.- Throws:
RpcException
-
list
Lists existing approval workflows.- Specified by:
list
in interfaceSnapshotApprovalWorkflows
- Throws:
RpcException
-