FileDocCategorySizeDatePackage
ResourcesTask.javaAPI DocApache Tomcat 6.0.142064Fri Jul 20 04:20:36 BST 2007org.apache.catalina.ant

ResourcesTask

public class ResourcesTask extends AbstractCatalinaTask
Ant task that implements the /resources command, supported by the Tomcat manager application.
author
Craig R. McClanahan
version
$Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $
since
4.1

Fields Summary
protected String
type
The fully qualified class name of the resource type being requested (if any).
Constructors Summary
Methods Summary
public voidexecute()
Execute the requested operation.

exception
BuildException if an error occurs


        super.execute();
        if (type != null) {
            execute("/resources?type=" + type);
        } else {
            execute("/resources");
        }

    
public java.lang.StringgetType()


       
        return (this.type);
    
public voidsetType(java.lang.String type)

        this.type = type;