Methods Summary |
---|
public void | execute()Called by Ant to start the execution of the target.
this.tomcatSupport.execute();
|
public abstract java.lang.String | getScriptToExecute()
|
public void | init()Overrides the base class implementation to instantiate the
TomcatSupport class.
this.tomcatSupport =
new TomcatSupport(this, getScriptToExecute(), isStarting());
|
public abstract boolean | isStarting()
|
public void | setCatalinaHome(java.lang.String catalinaHome)Called by Ant to set the attribute 'catalinaHome'. This attribute is
referenced in the buildfile.
this.tomcatSupport.setCatalinaHome(catalinaHome);
|
public void | setTestURL(java.lang.String testURL)Called by Ant to set the attribute 'testURL'. This attribute is
referenced in the buildfile.
this.tomcatSupport.setTestURL(testURL);
|
public void | setTimeout(java.lang.String timeout)
try {
long temp = Long.parseLong(timeout);
if (temp >= 10000 && temp <= 60000) {
this.tomcatSupport.setTimeout(temp);
} else {
throw new BuildException("Invalid 'timeout' value: "
+ timeout + ". The timeout must be between " +
"10000 and 60000.");
}
} catch (NumberFormatException nfe) {
throw new BuildException("Invalid 'timeout' value: " + timeout);
}
|