public interface ContainerProvider<O extends CreateContainerOptions,M extends CreateContainerMetadata>
Container.| Modifier and Type | Method and Description |
|---|---|
M |
create(O options,
CreationStateListener listener)
Creates a container using a set of arguments
|
void |
destroy(Container container)
Destroy the container
|
Class<M> |
getMetadataType() |
Class<O> |
getOptionsType()
Returns the options
|
String |
getScheme() |
CreateContainerBasicOptions.Builder |
newBuilder()
Helper method to create a new builder object
|
void |
start(Container container)
Start the container
|
void |
stop(Container container)
Stop the container
|
M create(O options, CreationStateListener listener) throws Exception
options - The CreateContainerOptions that will be used to build the container.CreateContainerMetadata, which contains information about the created container.Exceptionvoid destroy(Container container)
container - ExceptionString getScheme()
CreateContainerBasicOptions.Builder newBuilder()
Copyright © 2011–2014 Red Hat. All rights reserved.