Interface ContainerManager
- All Superinterfaces:
ContainerOperations
- All Known Implementing Classes:
AbstractContainerManager
A service provider interface for managing containers in the IIP-Ecosphere platform. The interface is rather simple
as it shall be usable through an AAS. The id of a container used here must not be identical to some
container-specific ids or the name in
ContainerDescriptor.getName(), e.g., it may contain the version.- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields inherited from interface de.iip_ecosphere.platform.ecsRuntime.ContainerOperations
EXC_ALREADY_KNOWN -
Method Summary
Modifier and TypeMethodDescriptiongetContainer(String id) Returns a container descriptor.Collection<? extends ContainerDescriptor> Returns the available (installed) containers independent of their state.getIds()Returns the ids of all available containers.default StringReturns the descriptive name of this ECS runtime.default StringReturns the version of this ECS runtime.Methods inherited from interface de.iip_ecosphere.platform.ecsRuntime.ContainerOperations
addContainer, getContainerSystemName, getContainerSystemVersion, getId, getState, migrateContainer, startContainer, stopContainer, undeployContainer, updateContainer
-
Method Details
-
getIds
Returns the ids of all available containers.- Returns:
- the ids
-
getContainers
Collection<? extends ContainerDescriptor> getContainers()Returns the available (installed) containers independent of their state.- Returns:
- the container descriptors
-
getContainer
Returns a container descriptor.- Parameters:
id- the id of the container (may be null or invalid)- Returns:
- the related container descriptor or null if the container is not known at all
-
getVersion
Returns the version of this ECS runtime.- Returns:
- the version, by default the platform version
-
getRuntimeName
Returns the descriptive name of this ECS runtime.- Returns:
- the descriptive name
-