org.sonar.plugins.pmd
Class PmdProfileExporter

java.lang.Object
  extended by org.sonar.api.profiles.ProfileExporter
      extended by org.sonar.plugins.pmd.PmdProfileExporter
All Implemented Interfaces:
BatchComponent, BatchExtension, Extension, ServerComponent, ServerExtension

public class PmdProfileExporter
extends ProfileExporter


Constructor Summary
PmdProfileExporter()
           
 
Method Summary
protected  PmdRuleset createPmdRuleset(List<ActiveRule> activeRules, String profileName)
           
protected  String exportPmdRulesetToXml(PmdRuleset pmdRuleset)
           
 void exportProfile(RulesProfile profile, Writer writer)
           
protected  void processXPathRule(String sonarRuleKey, PmdRule rule)
           
 
Methods inherited from class org.sonar.api.profiles.ProfileExporter
equals, getKey, getMimeType, getName, getSupportedLanguages, hashCode, setKey, setMimeType, setName, setSupportedLanguages, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PmdProfileExporter

public PmdProfileExporter()
Method Detail

exportProfile

public void exportProfile(RulesProfile profile,
                          Writer writer)
Specified by:
exportProfile in class ProfileExporter

createPmdRuleset

protected PmdRuleset createPmdRuleset(List<ActiveRule> activeRules,
                                      String profileName)

processXPathRule

protected void processXPathRule(String sonarRuleKey,
                                PmdRule rule)

exportPmdRulesetToXml

protected String exportPmdRulesetToXml(PmdRuleset pmdRuleset)


Copyright © 2009-2012 SonarSource. All Rights Reserved.