public class EnvironmentTestData extends Object
Modifier and Type | Field and Description |
---|---|
String |
containerId
Name of container to run (this is the container ID, see
Container.getId() . |
long |
containerTimeout
Timeout to test if a container is correctly started or stopped.
|
org.codehaus.cargo.container.ContainerType |
containerType
The container type (local, remote, etc)
|
String |
home
Home for the already installed container
(in that case installDir and installURL are ignored).
|
String |
installDir
Location where to put the zipped distributions and where to unpack them.
|
URL |
installURL
URL where the zipped container is located.
|
String |
javaHome
Java Home used to start the container.
|
int |
port
Port on which to start the web container.
|
org.codehaus.cargo.container.installer.Proxy |
proxy
Proxy properties if defined (can be null).
|
String |
targetDir
Target directory where build results are stored and where container execution will happen.
|
String |
version
Version of Cargo being built (this is required to compute the exact location of the test
data files in the local Maven repository)
|
Constructor and Description |
---|
EnvironmentTestData(String containerId,
org.codehaus.cargo.container.ContainerType containerType,
String targetDirSuffix) |
public String containerId
Container.getId()
. We use it guess the XML name of
the Ant task.public org.codehaus.cargo.container.ContainerType containerType
public URL installURL
public String installDir
public int port
public long containerTimeout
public String targetDir
public String home
public String javaHome
public String version
public org.codehaus.cargo.container.installer.Proxy proxy
public EnvironmentTestData(String containerId, org.codehaus.cargo.container.ContainerType containerType, String targetDirSuffix)
containerId
- the container's name (eg "resin3x")containerType
- the container's typetargetDirSuffix
- relative directory from the base target dir where to put
test-generated filesCopyright © 2004-2013 Codehaus. All Rights Reserved.