|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.clirr.AbstractClirrMojo
Base parameters for Clirr check and report.
| Field Summary | |
protected File |
classesDirectory
The classes of this project to compare the last release against. |
protected ArtifactSpecification[] |
comparisonArtifacts
List of artifacts to compare the current code against. |
protected String |
comparisonVersion
Version to compare the current code against. |
protected String[] |
excludes
A list of classes to exclude. |
protected ArtifactFactory |
factory
|
protected String[] |
includes
A list of classes to include. |
protected ArtifactRepository |
localRepository
|
protected boolean |
logResults
Whether to log the results to the console or not. |
protected MavenProject |
project
|
protected ArtifactResolver |
resolver
|
protected File |
textOutputFile
A text output file to render to. |
protected File |
xmlOutputFile
An XML file to render to. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Constructor Summary | |
AbstractClirrMojo()
|
|
| Method Summary | |
protected boolean |
canGenerate()
|
static net.sf.clirr.core.spi.JavaType[] |
createClassSet(File classes,
ClassLoader thirdPartyClasses,
net.sf.clirr.core.ClassFilter classFilter)
|
ClirrDiffListener |
executeClirr()
|
protected ClirrDiffListener |
executeClirr(net.sf.clirr.core.Severity minSeverity)
|
| 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 |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
| Field Detail |
protected MavenProject project
protected ArtifactResolver resolver
protected ArtifactFactory factory
protected ArtifactRepository localRepository
protected File classesDirectory
protected String comparisonVersion
protected ArtifactSpecification[] comparisonArtifacts
comparisonVersion, if present.
Each comparisonArtifact is made of a groupId, an artifactId,
a version number. Optionally it may have a classifier
(default null) and a type (default "jar").
protected File textOutputFile
protected File xmlOutputFile
protected String[] includes
org/codehaus/mojo/**.
protected String[] excludes
org/codehaus/mojo/**.
protected boolean logResults
| Constructor Detail |
public AbstractClirrMojo()
| Method Detail |
public ClirrDiffListener executeClirr()
throws MojoExecutionException,
MojoFailureException
MojoExecutionException
MojoFailureException
protected ClirrDiffListener executeClirr(net.sf.clirr.core.Severity minSeverity)
throws MojoExecutionException,
MojoFailureException
MojoExecutionException
MojoFailureException
public static net.sf.clirr.core.spi.JavaType[] createClassSet(File classes,
ClassLoader thirdPartyClasses,
net.sf.clirr.core.ClassFilter classFilter)
throws MalformedURLException
MalformedURLException
protected boolean canGenerate()
throws MojoFailureException,
MojoExecutionException
MojoFailureException
MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||