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