Package org.openstack4j.api.workflow
Interface WorkflowExecutionService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
WorkflowExecutionServiceImpl
public interface WorkflowExecutionService extends RestService
Service that provides CRUD operations for workflow executions.- Author:
- Renat Akhmerov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowExecutioncreate(WorkflowExecution wfExec)Create a new workflow execution.ActionResponsedelete(String id)Delete workflow execution by its ID.WorkflowExecutionget(String id)Get workflow execution by its ID.List<? extends WorkflowExecution>list()List all workflow executions with details.
-
-
-
Method Detail
-
list
List<? extends WorkflowExecution> list()
List all workflow executions with details.- Returns:
- List of workflow executions.
-
create
WorkflowExecution create(WorkflowExecution wfExec)
Create a new workflow execution.- Parameters:
wfExec- Workflow execution to create.- Returns:
- Created workflow execution.
-
get
WorkflowExecution get(String id)
Get workflow execution by its ID.- Parameters:
id- Workflow execution ID.- Returns:
- Workflow execution.
-
delete
ActionResponse delete(String id)
Delete workflow execution by its ID.- Parameters:
id- Workflow execution ID.- Returns:
- Action response from the server.
-
-