org.sonar.plugins.clover
Class AbstractCloverMavenCollector
java.lang.Object
org.sonar.plugins.api.maven.AbstractMavenCollector
org.sonar.plugins.api.maven.AbstractJavaMavenCollector
org.sonar.plugins.clover.AbstractCloverMavenCollector
- All Implemented Interfaces:
- Extension, CollectsCodeCoverage, MavenCollector, MavenExtension
- Direct Known Subclasses:
- Clover1MavenCollector, Clover2MavenCollector
public abstract class AbstractCloverMavenCollector
- extends AbstractJavaMavenCollector
- implements CollectsCodeCoverage
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mavenPluginHandlerClass
protected java.lang.Class<? extends MavenPluginHandler> mavenPluginHandlerClass
cloverMavenPlugin
protected CloverMavenPlugin cloverMavenPlugin
AbstractCloverMavenCollector
protected AbstractCloverMavenCollector(JavaMeasuresRecorder measuresRecorder,
org.apache.maven.plugin.logging.Log log,
org.apache.commons.configuration.Configuration configuration)
shouldStopOnFailure
public boolean shouldStopOnFailure()
- Description copied from interface:
MavenCollector
- should sonar fails if this collector fails ?
- Specified by:
shouldStopOnFailure
in interface MavenCollector
shouldCollectIfNoSources
protected boolean shouldCollectIfNoSources()
- Specified by:
shouldCollectIfNoSources
in class AbstractJavaMavenCollector
shouldCollectOn
public boolean shouldCollectOn(MavenPom pom)
- Specified by:
shouldCollectOn
in interface MavenCollector
- Overrides:
shouldCollectOn
in class AbstractJavaMavenCollector
shouldCollectIfLightMode
protected boolean shouldCollectIfLightMode()
- Overrides:
shouldCollectIfLightMode
in class AbstractJavaMavenCollector
dependsOnMavenPlugin
public java.lang.Class<? extends MavenPluginHandler> dependsOnMavenPlugin(MavenPom pom)
- Description copied from interface:
MavenCollector
- the collector should depend on the execution of a Maven plugin. In such a case this
method returns an handler that defines the Maven plugin.
Return null if no maven plugin to execute.
- Specified by:
dependsOnMavenPlugin
in interface MavenCollector
getMavenPluginHandlerClass
protected abstract java.lang.Class<? extends MavenPluginHandler> getMavenPluginHandlerClass()
shouldExecutePlugin
public boolean shouldExecutePlugin(MavenPlugin plugin)
collect
public void collect(MavenPom pom)
- Specified by:
collect
in interface MavenCollector
configure
public void configure(CollectsUnitTests unitTestsCollector)
- Specified by:
configure
in interface CollectsCodeCoverage
getGroupId
protected abstract java.lang.String getGroupId()
getArtifactId
protected abstract java.lang.String getArtifactId()
getPluginVersion
protected abstract int getPluginVersion()
getPropKeyLicense
protected abstract java.lang.String getPropKeyLicense()
Copyright © 2008 SonarSource SA. All Rights Reserved.