org.jboss.jca.validator.maven
Class ValidatorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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.AbstractMojo

A ValidatorMojo.

Version:
$Revision: $
Author:
Jeff Zhang

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ValidatorMojo()
          Constructor
 
Method Summary
 void execute()
          Execute
 String[] getClasspath()
          Get the classpath.
 String getOutputDir()
          Get the output directory.
 File getRarFile()
          Get the rarFile.
 void setClasspath(String[] classpath)
          Set the classpath.
 void setOutputDir(String outputDir)
          Set the output directory.
 void setRarFile(File rarFile)
          Set the rarFile.
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)