Class ValidatorMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    public class ValidatorMojo
    extends org.apache.maven.plugin.AbstractMojo
    A ValidatorMojo.
    Version:
    $Revision: $
    Author:
    Jeff Zhang
    • Constructor Detail

      • ValidatorMojo

        public ValidatorMojo()
        Constructor
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Execute
        Throws:
        org.apache.maven.plugin.MojoExecutionException - Thrown if the plugin cant be executed
        org.apache.maven.plugin.MojoFailureException - Thrown if there is an error
      • getOutputDir

        public String getOutputDir()
        Get the output directory.
        Returns:
        the outputDir.
      • setOutputDir

        public void setOutputDir​(String outputDir)
        Set the output directory.
        Parameters:
        outputDir - The outputDir to set.
      • getRarFile

        public File getRarFile()
        Get the rarFile.
        Returns:
        the rarFile.
      • setRarFile

        public void setRarFile​(File rarFile)
        Set the rarFile.
        Parameters:
        rarFile - The rarFile to set.
      • setClasspath

        public void setClasspath​(String[] classpath)
        Set the classpath.
        Parameters:
        classpath - The classpath to set.
      • getClasspath

        public String[] getClasspath()
        Get the classpath.
        Returns:
        the classpath.