Class ValidatorTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.catalina.ant.BaseRedirectorHelperTask
org.apache.catalina.ant.ValidatorTask
All Implemented Interfaces:
Cloneable

public class ValidatorTask extends BaseRedirectorHelperTask
Task for validating a web application deployment descriptor, using XML schema validation.
Since:
5.0
Author:
Remy Maucherat
  • Field Details

    • path

      protected String path
      The path to the webapp directory.
  • Constructor Details

    • ValidatorTask

      public ValidatorTask()
  • Method Details

    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)
    • execute

      public void execute() throws org.apache.tools.ant.BuildException
      Execute the specified command. This logic only performs the common attribute validation required by all subclasses; it does not perform any functional logic directly.
      Overrides:
      execute in class org.apache.tools.ant.Task
      Throws:
      org.apache.tools.ant.BuildException - if a validation error occurs