Interface ContainerManager

All Superinterfaces:
ContainerOperations
All Known Implementing Classes:
AbstractContainerManager

public interface ContainerManager extends ContainerOperations
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
  • Method Details

    • getIds

      Set<String> 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

      ContainerDescriptor getContainer(String id)
      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

      default String getVersion()
      Returns the version of this ECS runtime.
      Returns:
      the version, by default the platform version
    • getRuntimeName

      default String getRuntimeName()
      Returns the descriptive name of this ECS runtime.
      Returns:
      the descriptive name