Object ContainerHandle.Companion
-
- All Implemented Interfaces:
public class ContainerHandle.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static ContainerHandle.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final ContainerHandleof(Container container)Creates a new ContainerHandle that represents an existing and running container. final ContainerHandlenotRunning(Provider<String> id, Provider<String> name, Provider<String> image)Creates a new ContainerHandle that represents an existing container not running yet. final ContainerHandledesired(Provider<String> name, Provider<String> image)Creates a new ContainerHandle that represents a desired (expected) container. final ContainerHandledesired(Function0<String> supplyName, Function0<String> supplyImage)Creates a new ContainerHandle that represents a desired (expected) container. -
-
Method Detail
-
of
final ContainerHandle of(Container container)
Creates a new ContainerHandle that represents an existing and running container.
-
notRunning
final ContainerHandle notRunning(Provider<String> id, Provider<String> name, Provider<String> image)
Creates a new ContainerHandle that represents an existing container not running yet.
-
desired
final ContainerHandle desired(Provider<String> name, Provider<String> image)
Creates a new ContainerHandle that represents a desired (expected) container.
-
desired
final ContainerHandle desired(Function0<String> supplyName, Function0<String> supplyImage)
Creates a new ContainerHandle that represents a desired (expected) container.
-
-
-
-