org.sonar.plugins.api.maven
Class AbstractViolationsCollector<LANG extends Language>

java.lang.Object
  extended by org.sonar.plugins.api.maven.AbstractMavenCollector<LANG>
      extended by org.sonar.plugins.api.maven.AbstractViolationsCollector<LANG>
All Implemented Interfaces:
Extension, MavenCollector, MavenExtension

public abstract class AbstractViolationsCollector<LANG extends Language>
extends AbstractMavenCollector<LANG>


Constructor Summary
AbstractViolationsCollector(LANG lang)
           
 
Method Summary
 void collect(MavenPom pom, ProjectContext context)
          Collects data after the MavenPluginHandler execution
abstract  java.util.List<java.io.File> getViolationFilesToParse(MavenPom pom, ProjectContext context)
           
abstract  AbstractViolationsStaxParser getViolationsParser(MavenPom pom, ProjectContext context)
           
 
Methods inherited from class org.sonar.plugins.api.maven.AbstractMavenCollector
getLanguage, shouldCollectIfNoSources, shouldCollectOn
 
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
dependsOnMavenPlugin
 

Constructor Detail

AbstractViolationsCollector

public AbstractViolationsCollector(LANG lang)
Method Detail

getViolationsParser

public abstract AbstractViolationsStaxParser getViolationsParser(MavenPom pom,
                                                                 ProjectContext context)

getViolationFilesToParse

public abstract java.util.List<java.io.File> getViolationFilesToParse(MavenPom pom,
                                                                      ProjectContext context)

collect

public void collect(MavenPom pom,
                    ProjectContext context)
Description copied from interface: MavenCollector
Collects data after the MavenPluginHandler execution

Parameters:
pom - the pom being collected
context - the context to collect data


Copyright © 2009 SonarSource SA. All Rights Reserved.