Class ContainerUtils
- java.lang.Object
-
- org.codehaus.cargo.container.spi.util.ContainerUtils
-
public final class ContainerUtils extends Object
Set of common Container utility methods for people extending Cargo.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static URL
getCPCURL(Configuration configuration)
static void
waitTillContainerIsStopped(Container container)
Wait indefinitely till the container is stopped.
-
-
-
Method Detail
-
getCPCURL
public static URL getCPCURL(Configuration configuration)
- Parameters:
configuration
- the configuration from which to derive the CPC URL. We need it to get the hostname, the port, etc.- Returns:
- the CPC Cargo URL
-
waitTillContainerIsStopped
public static void waitTillContainerIsStopped(Container container)
Wait indefinitely till the container is stopped.- Parameters:
container
- the local container
-
-