|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.integration.ant.ContainerSet
public class ContainerSet
Ant data type that represents a set of J2EE containers.
Constructor Summary | |
---|---|
ContainerSet()
|
Method Summary | |
---|---|
void |
addCargo(CargoElement theElement)
Adds a nested generic container to the set of containers. |
org.codehaus.cargo.ant.CargoTask |
createCargo()
|
CargoElement[] |
getCargos()
Returns an iterator over the nested container elements, in the order they appear in the build file. |
int |
getProxyPort()
Returns the proxy port, or -1 if no proxy port has been set. |
long |
getTimeout()
Returns the timeout after which connecting to a container will be given up, or -1 if no timeout has been set. |
void |
setProxyPort(int theProxyPort)
Sets the proxy port which will be used by the test caller instead of the real container port. |
void |
setTimeout(long theTimeout)
Sets the timeout after which connecting to a container will be given up. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContainerSet()
Method Detail |
---|
public final void addCargo(CargoElement theElement)
theElement
- The generic cargo element to addpublic org.codehaus.cargo.ant.CargoTask createCargo()
public final CargoElement[] getCargos()
public final long getTimeout()
-1
if no timeout has been set.
public final void setTimeout(long theTimeout)
theTimeout
- The timeout in millisecondspublic final int getProxyPort()
-1
if no proxy port has been set.
public final void setProxyPort(int theProxyPort)
theProxyPort
- The proxy port to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |