Package org.jboss.jca.validator.maven
Class ValidatorMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.jboss.jca.validator.maven.ValidatorMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
public class ValidatorMojo extends org.apache.maven.plugin.AbstractMojoA ValidatorMojo.- Version:
- $Revision: $
- Author:
- Jeff Zhang
-
-
Constructor Summary
Constructors Constructor Description ValidatorMojo()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()ExecuteString[]getClasspath()Get the classpath.StringgetOutputDir()Get the output directory.FilegetRarFile()Get the rarFile.voidsetClasspath(String[] classpath)Set the classpath.voidsetOutputDir(String outputDir)Set the output directory.voidsetRarFile(File rarFile)Set the rarFile.
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionExecute- Throws:
org.apache.maven.plugin.MojoExecutionException- Thrown if the plugin cant be executedorg.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.
-
-