org.sonar.plugins.pmd
Class PmdProfileImporter

java.lang.Object
  extended by org.sonar.api.profiles.ProfileImporter
      extended by org.sonar.plugins.pmd.PmdProfileImporter
All Implemented Interfaces:
Extension, ServerComponent, ServerExtension

public class PmdProfileImporter
extends ProfileImporter


Constructor Summary
PmdProfileImporter(RuleFinder ruleFinder)
           
 
Method Summary
protected  RulesProfile createRuleProfile(PmdRuleset pmdRuleset, ValidationMessages messages)
           
 RulesProfile importProfile(Reader pmdConfigurationFile, ValidationMessages messages)
           
protected  PmdRuleset parsePmdRuleset(Reader pmdConfigurationFile, ValidationMessages messages)
           
 
Methods inherited from class org.sonar.api.profiles.ProfileImporter
equals, getKey, getName, getSupportedLanguages, hashCode, setKey, setName, setSupportedLanguages, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PmdProfileImporter

public PmdProfileImporter(RuleFinder ruleFinder)
Method Detail

importProfile

public RulesProfile importProfile(Reader pmdConfigurationFile,
                                  ValidationMessages messages)
Specified by:
importProfile in class ProfileImporter

createRuleProfile

protected RulesProfile createRuleProfile(PmdRuleset pmdRuleset,
                                         ValidationMessages messages)

parsePmdRuleset

protected PmdRuleset parsePmdRuleset(Reader pmdConfigurationFile,
                                     ValidationMessages messages)


Copyright © 2009-2011 SonarSource. All Rights Reserved.