Class BaseContainer

    • Field Detail

      • container

        protected final org.testcontainers.containers.GenericContainer container
      • name

        protected final String name
    • Constructor Detail

      • BaseContainer

        public BaseContainer​(org.testcontainers.containers.GenericContainer container,
                             String name)
    • Method Detail

      • startWithStopOnShutdown

        public void startWithStopOnShutdown()
      • stop

        public void stop()
      • getContainerHostAddress

        public String getContainerHostAddress()
      • getFirstMappedPort

        public Integer getFirstMappedPort()