Class MyContainerManager
java.lang.Object
de.iip_ecosphere.platform.ecsRuntime.AbstractContainerManager<MyContainerDesciptor>
test.de.iip_ecosphere.platform.ecsRuntime.MyContainerManager
- All Implemented Interfaces:
de.iip_ecosphere.platform.ecsRuntime.ContainerManager,de.iip_ecosphere.platform.ecsRuntime.ContainerOperations
class MyContainerManager
extends de.iip_ecosphere.platform.ecsRuntime.AbstractContainerManager<MyContainerDesciptor>
A test container manager.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsFields inherited from interface de.iip_ecosphere.platform.ecsRuntime.ContainerOperations
EXC_ALREADY_KNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContainer(URI location) private StringcreateId()Creates a container id.voidmigrateContainer(String containerId, String resourceId) voidstartContainer(String id) voidstopContainer(String id) voidvoidupdateContainer(String id, URI location) Methods inherited from class de.iip_ecosphere.platform.ecsRuntime.AbstractContainerManager
addContainer, checkId, getContainer, getContainer, getContainers, getId, getIds, getState, resolveUri, setState, throwExecutionException, throwExecutionExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.ecsRuntime.ContainerManager
getRuntimeName, getVersion
-
Field Details
-
id
private static int id
-
-
Constructor Details
-
MyContainerManager
MyContainerManager()
-
-
Method Details
-
createId
Creates a container id.- Returns:
- the container id
-
addContainer
- Throws:
ExecutionException
-
startContainer
- Throws:
ExecutionException
-
stopContainer
- Throws:
ExecutionException
-
updateContainer
- Throws:
ExecutionException
-
undeployContainer
- Specified by:
undeployContainerin interfacede.iip_ecosphere.platform.ecsRuntime.ContainerOperations- Overrides:
undeployContainerin classde.iip_ecosphere.platform.ecsRuntime.AbstractContainerManager<MyContainerDesciptor>- Throws:
ExecutionException
-
migrateContainer
- Specified by:
migrateContainerin interfacede.iip_ecosphere.platform.ecsRuntime.ContainerOperations- Overrides:
migrateContainerin classde.iip_ecosphere.platform.ecsRuntime.AbstractContainerManager<MyContainerDesciptor>- Throws:
ExecutionException
-
getContainerSystemName
-
getContainerSystemVersion
-