Class TestContainer
- java.lang.Object
-
- io.micronaut.testresources.server.TestContainer
-
@Introspected public final class TestContainer extends java.lang.ObjectStores metadata about a running test container.
-
-
Constructor Summary
Constructors Constructor Description TestContainer(java.lang.String name, java.lang.String imageName, java.lang.String id, java.lang.String scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()Returns the docker container id.java.lang.StringgetImageName()Returns the docker image name.java.lang.StringgetName()Returns the name of the container.java.lang.StringgetScope()Returns the scope for which this container is defined.java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of the container.- Returns:
- the name of the container
-
getImageName
public java.lang.String getImageName()
Returns the docker image name.- Returns:
- the docker image name
-
getId
public java.lang.String getId()
Returns the docker container id.- Returns:
- the docker container id.
-
getScope
public java.lang.String getScope()
Returns the scope for which this container is defined.- Returns:
- the scope
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-