|
||||||||||
| 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
org.codehaus.mojo.clirr.AbstractClirrCheckMojo
org.codehaus.mojo.clirr.ClirrCheckMojo
com.atlassian.maven.plugins.clirr.ClirrRulesMojo
public class ClirrRulesMojo
| Field Summary | |
|---|---|
protected java.lang.String[] |
classTypes
The class types to include. |
protected java.lang.String[] |
excludeRules
A list of rules to exclude when checking for compatibility |
protected java.lang.String |
expectedFile
A path to a text file containing a list of fully qualified method names that have differences |
protected boolean |
resolveDependentClasses
Whether to resolve the transitive dependent classes |
protected java.lang.String[] |
rules
A list of rules to apply when checking for compatibility |
protected java.lang.String[] |
transitiveExcludes
A list of transitive dependent classes to exclude. |
protected java.lang.String[] |
transitiveIncludes
A list of transitive dependent classes to include. |
| Fields inherited from class org.codehaus.mojo.clirr.AbstractClirrMojo |
|---|
classesDirectory, comparisonArtifacts, comparisonVersion, excludes, factory, includes, localRepository, logResults, minSeverity, project, resolver, skip, textOutputFile, xmlOutputFile |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
ClirrRulesMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
protected org.codehaus.mojo.clirr.ClirrDiffListener |
executeClirr(net.sf.clirr.core.Severity minSeverity)
|
protected void |
executeClirr(net.sf.clirr.core.Severity severity,
net.sf.clirr.core.DiffListener listener,
net.sf.clirr.core.ClassFilter classFilter)
//TODO move into AbstractClirrCheckMojo |
protected net.sf.clirr.core.ClassFilter |
getClassFilter(java.util.Set<net.sf.clirr.core.spi.JavaType> previousArtifactClasses)
|
protected com.google.common.base.Predicate<net.sf.clirr.core.ApiDifference> |
getListenerFilter()
|
protected java.util.List<net.sf.clirr.core.DiffListener> |
getListeners()
//TODO move into AbstractClirrCheckMojo |
protected net.sf.clirr.core.spi.JavaType[] |
resPreviousReleaseClasses(net.sf.clirr.core.ClassFilter classFilter)
|
java.lang.String |
toString()
|
| Methods inherited from class org.codehaus.mojo.clirr.AbstractClirrCheckMojo |
|---|
doExecute |
| Methods inherited from class org.codehaus.mojo.clirr.AbstractClirrMojo |
|---|
canGenerate, convertSeverity, createClassLoader, createClassSet, executeClirr, getTransitiveDependencies, resolveArtifacts |
| 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, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String[] transitiveIncludes
com/atlassian/com/** /*Action* .
protected java.lang.String[] transitiveExcludes
com/atlassian/com/** /*Action* .
protected java.lang.String[] rules
protected java.lang.String[] excludeRules
protected boolean resolveDependentClasses
protected java.lang.String[] classTypes
protected java.lang.String expectedFile
| Constructor Detail |
|---|
public ClirrRulesMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class org.codehaus.mojo.clirr.AbstractClirrMojoorg.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionpublic java.lang.String toString()
toString in class java.lang.Object
protected org.codehaus.mojo.clirr.ClirrDiffListener executeClirr(net.sf.clirr.core.Severity minSeverity)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
executeClirr in class org.codehaus.mojo.clirr.AbstractClirrMojoorg.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected net.sf.clirr.core.ClassFilter getClassFilter(java.util.Set<net.sf.clirr.core.spi.JavaType> previousArtifactClasses)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected java.util.List<net.sf.clirr.core.DiffListener> getListeners()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected net.sf.clirr.core.spi.JavaType[] resPreviousReleaseClasses(net.sf.clirr.core.ClassFilter classFilter)
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
protected void executeClirr(net.sf.clirr.core.Severity severity,
net.sf.clirr.core.DiffListener listener,
net.sf.clirr.core.ClassFilter classFilter)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
severity - listener - classFilter -
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected com.google.common.base.Predicate<net.sf.clirr.core.ApiDifference> getListenerFilter()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||