org.sonar.api.rules
Interface RulesRepository<LANG extends Language>

All Superinterfaces:
BatchComponent, BatchExtension, Extension, ServerComponent, ServerExtension
All Known Implementing Classes:
AbstractImportableRulesRepository, AbstractRulesRepository, CheckTemplateRepository

Deprecated. since 2.3

@Deprecated
public interface RulesRepository<LANG extends Language>
extends BatchExtension, ServerExtension


Method Summary
 List<Rule> getInitialReferential()
          Deprecated.  
 LANG getLanguage()
          Deprecated.  
 List<RulesProfile> getProvidedProfiles()
          Deprecated.  
 List<Rule> parseReferential(String fileContent)
          Deprecated. The method to parse the base referential of rules and return a list of rules
 

Method Detail

getLanguage

LANG getLanguage()
Deprecated. 
Returns:
the language the repository is associated

getInitialReferential

List<Rule> getInitialReferential()
Deprecated. 
Returns:
the list of rules of the repository

parseReferential

List<Rule> parseReferential(String fileContent)
Deprecated. 
The method to parse the base referential of rules and return a list of rules

Parameters:
fileContent - the initial referential
Returns:
a list of rules

getProvidedProfiles

List<RulesProfile> getProvidedProfiles()
Deprecated. 
Returns:
a list of profiles that are provided with the referential


Copyright © 2009-2011 SonarSource. All Rights Reserved.