org.sonar.plugins.api.maven
Class AbstractJavaMavenCollector

java.lang.Object
  extended by org.sonar.plugins.api.maven.AbstractJavaMavenCollector
All Implemented Interfaces:
Extension, MavenCollector, MavenExtension

public abstract class AbstractJavaMavenCollector
extends java.lang.Object
implements MavenCollector


Constructor Summary
AbstractJavaMavenCollector()
           
 
Method Summary
protected abstract  boolean shouldCollectIfNoSources()
           
 boolean shouldCollectOn(MavenPom pom)
          Defines if the mavne collector should be launched on the given pom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sonar.plugins.api.maven.MavenCollector
collect, dependsOnMavenPlugin
 

Constructor Detail

AbstractJavaMavenCollector

public AbstractJavaMavenCollector()
Method Detail

shouldCollectOn

public boolean shouldCollectOn(MavenPom pom)
Description copied from interface: MavenCollector
Defines if the mavne collector should be launched on the given pom

Specified by:
shouldCollectOn in interface MavenCollector
Parameters:
pom - the pom to test
Returns:
true if the collector should be executed

shouldCollectIfNoSources

protected abstract boolean shouldCollectIfNoSources()


Copyright © 2009 SonarSource SA. All Rights Reserved.