org.apache.catalina.ant
Class ResourcesTask

org.apache.catalina.ant.AbstractCatalinaTask
  |
  +--org.apache.catalina.ant.ResourcesTask

public class ResourcesTask
extends AbstractCatalinaTask

Ant task that implements the /resources command, supported by the Tomcat manager application.

Since:
4.1
Version:
$Revision: 466595 $ $Date: 2006-10-21 18:24:41 -0400 (Sat, 21 Oct 2006) $
Author:
Craig R. McClanahan

Field Summary
protected  java.lang.String type
          The fully qualified class name of the resource type being requested (if any).
 
Fields inherited from class org.apache.catalina.ant.AbstractCatalinaTask
password, url, username
 
Constructor Summary
ResourcesTask()
           
 
Method Summary
 void execute()
          Execute the requested operation.
 java.lang.String getType()
           
 void setType(java.lang.String type)
           
 
Methods inherited from class org.apache.catalina.ant.AbstractCatalinaTask
execute, execute, getPassword, getUrl, getUsername, setPassword, setUrl, setUsername
 

Field Detail

type

protected java.lang.String type
The fully qualified class name of the resource type being requested (if any).
Constructor Detail

ResourcesTask

public ResourcesTask()
Method Detail

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute the requested operation.
Overrides:
execute in class AbstractCatalinaTask
Throws:
BuildException - if an error occurs


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