com.quadrique.jbuildingblocks.core.ant.tasks.tomcat
Class JbbTomcatSupport

java.lang.Object
  extended by com.quadrique.jbuildingblocks.core.ant.tasks.tomcat.JbbTomcatSupport

public class JbbTomcatSupport
extends Object


Constructor Summary
JbbTomcatSupport(org.apache.tools.ant.Task task)
           
 
Method Summary
 void execute()
          Executes a Tomcat script to start or stop the server.
 void runScript()
           
 void setCatalinaHome(String catalinaHome)
           
 void setScriptToExecute(String scriptToExecute)
           
 void setStarting(boolean starting)
           
 void setTestURL(String testURL)
           
 void setTimeout(long timeout)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbbTomcatSupport

public JbbTomcatSupport(org.apache.tools.ant.Task task)
Parameters:
task - the task that invoked this class. It's used only for logging.
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Executes a Tomcat script to start or stop the server.

Throws:
org.apache.tools.ant.BuildException

runScript

public void runScript()
               throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException

setTestURL

public void setTestURL(String testURL)

setCatalinaHome

public void setCatalinaHome(String catalinaHome)

setScriptToExecute

public void setScriptToExecute(String scriptToExecute)

setTimeout

public void setTimeout(long timeout)

setStarting

public void setStarting(boolean starting)


Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.