Class ContainerServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.barbican.internal.BaseBarbicanServices
-
- org.openstack4j.openstack.barbican.internal.ContainerServiceImpl
-
- All Implemented Interfaces:
ContainerService
public class ContainerServiceImpl extends BaseBarbicanServices implements ContainerService
Base class for Barbican / Key Management services
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description ContainerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Containercreate(Container container)Create a container.ActionResponsedelete(String containerId)Delete the specified container by IDContainerget(String containerId)Get the specified container by IDList<? extends Container>list(String name)Gets a list of currently existingContainers for a specified container.List<? extends Container>list(Map<String,String> filteringParams)Returns list of containers filtered by parameters.-
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 Container> list(Map<String,String> filteringParams)
Returns list of containers filtered by parameters.- Specified by:
listin interfaceContainerService- Parameters:
filteringParams- map (name, value) of filtering parameters- Returns:
- list of containers filtered by filteringParams
-
list
public List<? extends Container> list(String name)
Gets a list of currently existingContainers for a specified container.- Specified by:
listin interfaceContainerService- Returns:
- the list of
Containers
-
get
public Container get(String containerId)
Get the specified container by ID- Specified by:
getin interfaceContainerService
-
delete
public ActionResponse delete(String containerId)
Delete the specified container by ID- Specified by:
deletein interfaceContainerService
-
create
public Container create(Container container)
Create a container.- Specified by:
createin interfaceContainerService
-
-