|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonar.api.rules.RulesManager
@Deprecated public abstract class RulesManager
Manage and access rules defined in Sonar.
Constructor Summary | |
---|---|
RulesManager()
Deprecated. |
Method Summary | |
---|---|
abstract java.util.Map<java.lang.String,java.lang.Long> |
countRulesByCategory(Language language)
Deprecated. Gets count of rules by categories defined for a given language |
abstract java.util.List<Plugin> |
getExportablePlugins(Language language)
Deprecated. Get the list of rules plugin that implement a mechanism of export for a given language |
abstract java.util.List<Plugin> |
getImportablePlugins(Language language)
Deprecated. Get the list of rules plugin that implement a mechanism of import for a given language |
abstract java.util.Set<Language> |
getLanguages()
Deprecated. Returns the list of languages for which there is a rule repository |
abstract Rule |
getPluginRule(java.lang.String pluginKey,
java.lang.String ruleKey)
Deprecated. Gets a rule belonging to a defined plugin based on its key |
abstract java.util.Collection<Rule> |
getPluginRules(java.lang.String pluginKey)
Deprecated. Gets a collection of rules belonging to a plugin |
abstract java.util.Map<java.lang.String,Rule> |
getPluginRulesIndexedByKey(java.lang.String pluginKey)
Deprecated. Gets a list of rules indexed by their key for a given plugin |
abstract java.util.List<Plugin> |
getPlugins(Language language)
Deprecated. Gets the list of rules plugins for a given language |
abstract java.util.List<RulesRepository<?>> |
getRulesRepositories()
Deprecated. Gets the complete list of Rules Repositories in the Sonar instance |
abstract java.util.List<RulesRepository<?>> |
getRulesRepositories(Language language)
Deprecated. Gets the list of Rules Repositories available for a language |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RulesManager()
Method Detail |
---|
public abstract java.util.Set<Language> getLanguages()
public abstract java.util.List<RulesRepository<?>> getRulesRepositories(Language language)
language
- the language
public abstract java.util.List<RulesRepository<?>> getRulesRepositories()
public abstract java.util.List<Plugin> getPlugins(Language language)
language
- the language
public abstract java.util.Map<java.lang.String,java.lang.Long> countRulesByCategory(Language language)
language
- the language
public abstract java.util.List<Plugin> getExportablePlugins(Language language)
language
- the language
public abstract java.util.List<Plugin> getImportablePlugins(Language language)
language
- the language
public abstract java.util.Map<java.lang.String,Rule> getPluginRulesIndexedByKey(java.lang.String pluginKey)
pluginKey
- the plugin key
public abstract java.util.Collection<Rule> getPluginRules(java.lang.String pluginKey)
pluginKey
- the plugin key
public abstract Rule getPluginRule(java.lang.String pluginKey, java.lang.String ruleKey)
pluginKey
- the plugin keyruleKey
- the rule key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |