Class TestContainer

java.lang.Object
io.micronaut.testresources.server.TestContainer

@Introspected public final class TestContainer extends Object
Stores metadata about a running test container.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns the name of the container.
      Returns:
      the name of the container
    • getImageName

      public String getImageName()
      Returns the docker image name.
      Returns:
      the docker image name
    • getId

      public String getId()
      Returns the docker container id.
      Returns:
      the docker container id.
    • getScope

      @Nullable public @Nullable String getScope()
      Returns the scope for which this container is defined.
      Returns:
      the scope
    • toString

      public String toString()
      Overrides:
      toString in class Object