Package com.strongdm.api
Class WorkflowApprovers
java.lang.Object
com.strongdm.api.WorkflowApprovers
- All Implemented Interfaces:
SnapshotWorkflowApprovers
WorkflowApprovers is an account or a role with the ability to approve requests bound to a workflow.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(WorkflowApprover workflowApprover) Create creates a new workflow approverDelete deletes a workflow approverGet reads one workflow approver by ID.Lists existing workflow approvers.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the WorkflowApprovers service which has the given deadline set for all method calls.
-
Constructor Details
-
WorkflowApprovers
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the WorkflowApprovers service which has the given deadline set for all method calls. -
create
public WorkflowApproversCreateResponse create(WorkflowApprover workflowApprover) throws RpcException Create creates a new workflow approver- Throws:
RpcException
-
get
Get reads one workflow approver by ID.- Specified by:
get
in interfaceSnapshotWorkflowApprovers
- Throws:
RpcException
-
delete
Delete deletes a workflow approver- Throws:
RpcException
-
list
Lists existing workflow approvers.- Specified by:
list
in interfaceSnapshotWorkflowApprovers
- Throws:
RpcException
-