Package com.strongdm.api
Class ApprovalWorkflowSteps
java.lang.Object
com.strongdm.api.ApprovalWorkflowSteps
- All Implemented Interfaces:
SnapshotApprovalWorkflowSteps
ApprovalWorkflowSteps link approval workflow steps to an ApprovalWorkflow
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ApprovalWorkflowStep approvalWorkflowStep) Create creates a new approval workflow step.Delete deletes an existing approval workflow step.Get reads one approval workflow step by ID.Lists existing approval workflow steps.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the ApprovalWorkflowSteps service which has the given deadline set for all method calls.
-
Constructor Details
-
ApprovalWorkflowSteps
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the ApprovalWorkflowSteps service which has the given deadline set for all method calls. -
create
public ApprovalWorkflowStepCreateResponse create(ApprovalWorkflowStep approvalWorkflowStep) throws RpcException Create creates a new approval workflow step.- Throws:
RpcException
-
get
Get reads one approval workflow step by ID.- Specified by:
get
in interfaceSnapshotApprovalWorkflowSteps
- Throws:
RpcException
-
delete
Delete deletes an existing approval workflow step.- Throws:
RpcException
-
list
Lists existing approval workflow steps.- Specified by:
list
in interfaceSnapshotApprovalWorkflowSteps
- Throws:
RpcException
-