Class 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 Detail

      • path

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

      • ValidatorTask

        public ValidatorTask()
    • Method Detail

      • 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