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 WorkflowEnvironmentcreate(WorkflowEnvironment env)Create a new workflow environment.ActionResponsedelete(String identifier)Delete workflow environment by its ID.WorkflowEnvironmentget(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:WorkflowEnvironmentServiceList all workflow environments with details.- Specified by:
listin interfaceWorkflowEnvironmentService- Returns:
- List of workflow environments.
-
create
public WorkflowEnvironment create(WorkflowEnvironment env)
Description copied from interface:WorkflowEnvironmentServiceCreate a new workflow environment.- Specified by:
createin interfaceWorkflowEnvironmentService- Parameters:
env- Workflow environment to create.- Returns:
- Created workflow environment.
-
get
public WorkflowEnvironment get(String identifier)
Description copied from interface:WorkflowEnvironmentServiceGet workflow environment by its ID.- Specified by:
getin interfaceWorkflowEnvironmentService- Parameters:
identifier- Workflow environment ID.- Returns:
- Workflow environment.
-
delete
public ActionResponse delete(String identifier)
Description copied from interface:WorkflowEnvironmentServiceDelete workflow environment by its ID.- Specified by:
deletein interfaceWorkflowEnvironmentService- Parameters:
identifier- Workflow environment ID.- Returns:
- Action response from the server.
-
-