FileDocCategorySizeDatePackage
ResourcesTask.javaAPI DocGlassfish v2 API3186Fri May 04 22:31:52 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: 1.3 $ $Date: 2007/05/05 05:31:52 $
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;