Class ContainerUtils

  • public final class ContainerUtils
    extends Object
    Set of common Container utility methods for people extending Cargo.
    • Method Detail

      • getCPCURL

        public static URL getCPCURL​(Configuration configuration)
        configuration - the configuration from which to derive the CPC URL. We need it to get the hostname, the port, etc.
        the CPC Cargo URL
      • waitTillContainerIsStopped

        public static void waitTillContainerIsStopped​(Container container)
        Wait indefinitely till the container is stopped.
        container - the local container