org.apache.anteater.test
Class ServletContainerTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.apache.anteater.test.ServletContainerTask

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

Ant Task representation for the ServletContainer class.

Since:
September 27, 2001
Version:
$Revision: 1.5 $ $Date: 2002/08/12 11:59:28 $
Author:
Ovidiu Predescu

Field Summary
static String START_TOMCAT
           
static String STOP_TOMCAT
           
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
ServletContainerTask()
           
 
Method Summary
 void execute()
           
 void setAction(String action)
          Set the action you wish the servlet engine to perform.
 void setMaxSpareThreads(int maxSpareThreads)
           
 void setMaxThreads(int maxThreads)
           
 void setMinSpareThreads(int minSpareThreads)
           
 void setPort(String ports)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STOP_TOMCAT

public static final String STOP_TOMCAT
See Also:
Constant Field Values

START_TOMCAT

public static final String START_TOMCAT
See Also:
Constant Field Values
Constructor Detail

ServletContainerTask

public ServletContainerTask()
Method Detail

setPort

public void setPort(String ports)
             throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException

setMaxThreads

public void setMaxThreads(int maxThreads)

setMaxSpareThreads

public void setMaxSpareThreads(int maxSpareThreads)

setMinSpareThreads

public void setMinSpareThreads(int minSpareThreads)

setAction

public void setAction(String action)
Set the action you wish the servlet engine to perform. Valid values are 'start' and 'stop'.

Since:
August 12, 2002

execute

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


Ant Functional Tester -- see Project home page for details