org.sonar.plugins.api.maven
Interface MavenCollector

All Superinterfaces:
Extension, MavenExtension
All Known Implementing Classes:
AbstractCloverMavenCollector, AbstractJavaMavenCollector, AbstractMavenCollector, AbstractPlsqlMavenCollector, CheckstyleMavenCollector, Clover1MavenCollector, Clover2MavenCollector, CoberturaMavenCollector, CpdMavenCollector, FindbugsMavenCollector, ImportSourcesMavenCollector, JavaNcssMavenCollector, PmdMavenCollector, SurefireMavenCollector

public interface MavenCollector
extends MavenExtension


Method Summary
 void collect(MavenPom pom)
           
 java.lang.Class<? extends MavenPluginHandler> dependsOnMavenPlugin(MavenPom pom)
          the collector should depend on the execution of a Maven plugin.
 boolean shouldCollectOn(MavenPom pom)
           
 boolean shouldStopOnFailure()
          should sonar fails if this collector fails ?
 

Method Detail

dependsOnMavenPlugin

java.lang.Class<? extends MavenPluginHandler> dependsOnMavenPlugin(MavenPom pom)
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.


shouldStopOnFailure

boolean shouldStopOnFailure()
should sonar fails if this collector fails ?


shouldCollectOn

boolean shouldCollectOn(MavenPom pom)

collect

void collect(MavenPom pom)


Copyright © 2008 SonarSource SA. All Rights Reserved.