Interface for classes that can be used as nested elements in the
task.
| Method from org.apache.cactus.integration.ant.container.Container Detail: |
public String getBaseURL()
|
public Path getContainerClasspath()
|
public String getName()
Returns a displayable name of the container for logging purposes. |
public int getPort()
Returns the port to which the container should listen. |
public String getProtocol()
Returns the protocol, that should be used for communication to the
container. |
public String getServer()
Returns the server (name or IP) to where the container is living. |
public long getStartUpWait()
|
public Variable[] getSystemProperties()
|
public String getTestContext()
|
public File getToDir()
Returns the value of the 'todir' attribute. |
public void init()
Subclasses should implement this method to perform any initialization
that may be necessary. This method is called before any of the accessors
or the methods AbstractContainer#startUp and
AbstractContainer#shutDown are called, but after all attributes
have been set. |
public boolean isEnabled()
Returns whether the container element is enabled, which is determined by
the evaluation of the if- and unless conditions |
public boolean isExcluded(String theTestName)
Returns whether a specific test case is to be excluded from being run in
the container. |
public void setAntTaskFactory(AntTaskFactory theFactory)
Sets the factory to use for creating Ant tasks. |
public void setContainerClasspath(Path theClasspath)
Sets additional classpath entries that will be added to the container
classpath used to start the containers. |
public void setDeployableFile(DeployableFile theDeployableFile)
Sets the file that should be deployed to the container. This can be
either a WAR or an EAR file, depending on the capabilities of the
container. |
public void setLog(Log theLog)
Sets the log which the implementation should use. |
public void setSystemProperties(Variable[] theProperties)
Sets the system properties that will be passed to the JVM in which the
server will execute. |
public void shutDown()
Subclasses must implement this method to perform the actual task of
shutting down the container. |
public void startUp()
Subclasses must implement this method to perform the actual task of
starting up the container. |