Class WorkflowExecutionServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.workflow.internal.WorkflowExecutionServiceImpl
-
- All Implemented Interfaces:
WorkflowExecutionService,RestService
public class WorkflowExecutionServiceImpl extends BaseOpenStackService implements WorkflowExecutionService
Workflow execution service implementation.- Author:
- Renat Akhmerov
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description WorkflowExecutionServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutioncreate(WorkflowExecution wfExec)Create a new workflow execution.ActionResponsedelete(String identifier)Delete workflow execution by its ID.WorkflowExecutionget(String identifier)Get workflow execution by its ID.List<? extends WorkflowExecution>list()List all workflow executions with details.-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
list
public List<? extends WorkflowExecution> list()
Description copied from interface:WorkflowExecutionServiceList all workflow executions with details.- Specified by:
listin interfaceWorkflowExecutionService- Returns:
- List of workflow executions.
-
create
public WorkflowExecution create(WorkflowExecution wfExec)
Description copied from interface:WorkflowExecutionServiceCreate a new workflow execution.- Specified by:
createin interfaceWorkflowExecutionService- Parameters:
wfExec- Workflow execution to create.- Returns:
- Created workflow execution.
-
get
public WorkflowExecution get(String identifier)
Description copied from interface:WorkflowExecutionServiceGet workflow execution by its ID.- Specified by:
getin interfaceWorkflowExecutionService- Parameters:
identifier- Workflow execution ID.- Returns:
- Workflow execution.
-
delete
public ActionResponse delete(String identifier)
Description copied from interface:WorkflowExecutionServiceDelete workflow execution by its ID.- Specified by:
deletein interfaceWorkflowExecutionService- Parameters:
identifier- Workflow execution ID.- Returns:
- Action response from the server.
-
-