Class WorkflowEnvironmentServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.workflow.internal.WorkflowEnvironmentServiceImpl
-
- All Implemented Interfaces:
WorkflowEnvironmentService
,RestService
public class WorkflowEnvironmentServiceImpl extends BaseOpenStackService implements WorkflowEnvironmentService
Workflow environment 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 WorkflowEnvironmentServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowEnvironment
create(WorkflowEnvironment env)
Create a new workflow environment.ActionResponse
delete(String identifier)
Delete workflow environment by its ID.WorkflowEnvironment
get(String identifier)
Get workflow environment by its ID.List<? extends WorkflowEnvironment>
list()
List all workflow environments 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 WorkflowEnvironment> list()
Description copied from interface:WorkflowEnvironmentService
List all workflow environments with details.- Specified by:
list
in interfaceWorkflowEnvironmentService
- Returns:
- List of workflow environments.
-
create
public WorkflowEnvironment create(WorkflowEnvironment env)
Description copied from interface:WorkflowEnvironmentService
Create a new workflow environment.- Specified by:
create
in interfaceWorkflowEnvironmentService
- Parameters:
env
- Workflow environment to create.- Returns:
- Created workflow environment.
-
get
public WorkflowEnvironment get(String identifier)
Description copied from interface:WorkflowEnvironmentService
Get workflow environment by its ID.- Specified by:
get
in interfaceWorkflowEnvironmentService
- Parameters:
identifier
- Workflow environment ID.- Returns:
- Workflow environment.
-
delete
public ActionResponse delete(String identifier)
Description copied from interface:WorkflowEnvironmentService
Delete workflow environment by its ID.- Specified by:
delete
in interfaceWorkflowEnvironmentService
- Parameters:
identifier
- Workflow environment ID.- Returns:
- Action response from the server.
-
-