org.sonar.api.rules
Class RulesManager
java.lang.Object
org.sonar.api.rules.RulesManager
- All Implemented Interfaces:
- BatchExtension, Extension
public class RulesManager
- extends Object
- implements BatchExtension
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RulesManager
public RulesManager(Plugins plugins,
RulesRepository[] repositories,
DaoFacade dao)
RulesManager
protected RulesManager(DaoFacade dao)
getLanguages
public Set<Language> getLanguages()
getRulesRepositories
public List<RulesRepository<?>> getRulesRepositories(Language language)
getRulesRepositories
public List<RulesRepository<?>> getRulesRepositories()
getPlugins
public List<Plugin> getPlugins(Language language)
countRulesByCategory
public Map<String,Long> countRulesByCategory(Language language)
countRulesByCategory
protected Map<String,Long> countRulesByCategory(Language language,
RulesDao rulesDao)
getExportablePlugins
public List<Plugin> getExportablePlugins(Language language)
getImportablePlugins
public List<Plugin> getImportablePlugins(Language language)
getPluginRulesIndexedByKey
public Map<String,Rule> getPluginRulesIndexedByKey(String pluginKey)
getPluginRules
public Collection<Rule> getPluginRules(String pluginKey)
getPluginRule
public Rule getPluginRule(String pluginKey,
String ruleKey)
Copyright © 2009 SonarSource SA. All Rights Reserved.