org.apache.cactus.ant
Class StartServerTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.apache.cactus.ant.StartServerTask

public class StartServerTask
extends org.apache.tools.ant.Task

An Ant Task that does the following :

.

Version:
$Id: StartServerTask.java,v 1.1 2002/02/24 23:49:05 vmassol Exp $
Author:
Vincent Massol

Constructor Summary
StartServerTask()
           
 
Method Summary
 void execute()
           
 void init()
          Initialization
 void setStartTarget(java.lang.String theStartTarget)
          Ant will automatically call this method when the "startTarget" attribute of our task is used.
 void setTestURL(java.lang.String theTestURL)
          Ant will automatically call this method when the "testURL" attribute of our task is used.
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartServerTask

public StartServerTask()
Method Detail

init

public void init()
Initialization
Overrides:
init in class org.apache.tools.ant.Task

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
See Also:
Task.execute()

setTestURL

public void setTestURL(java.lang.String theTestURL)
Ant will automatically call this method when the "testURL" attribute of our task is used.
Parameters:
theTestURL - the test URL to ping

setStartTarget

public void setStartTarget(java.lang.String theStartTarget)
Ant will automatically call this method when the "startTarget" attribute of our task is used.
Parameters:
theStartTarget - the Ant target to call


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.