org.sonar.api.rules
Class AbstractRulesRepository<LANG extends Language,MAPPER extends RulePriorityMapper<?,?>>

java.lang.Object
  extended by org.sonar.api.rules.AbstractRulesRepository<LANG,MAPPER>
All Implemented Interfaces:
BatchComponent, BatchExtension, Extension, RulesRepository<LANG>, ServerComponent, ServerExtension
Direct Known Subclasses:
AbstractImportableRulesRepository

Deprecated.

@Deprecated
public abstract class AbstractRulesRepository<LANG extends Language,MAPPER extends RulePriorityMapper<?,?>>
extends Object
implements RulesRepository<LANG>


Constructor Summary
AbstractRulesRepository(LANG language, MAPPER priorityMapper)
          Deprecated.  
 
Method Summary
protected  String getCheckResourcesBase()
          Deprecated.  
 List<Rule> getInitialReferential()
          Deprecated.  
 LANG getLanguage()
          Deprecated.  
abstract  String getRepositoryResourcesBase()
          Deprecated.  
 MAPPER getRulePriorityMapper()
          Deprecated.  
 List<Rule> parseReferential(String fileContent)
          Deprecated. The method to parse the base referential of rules and return a list of rules
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sonar.api.rules.RulesRepository
getProvidedProfiles
 

Constructor Detail

AbstractRulesRepository

public AbstractRulesRepository(LANG language,
                               MAPPER priorityMapper)
Deprecated. 
Method Detail

getLanguage

public LANG getLanguage()
Deprecated. 
Specified by:
getLanguage in interface RulesRepository<LANG extends Language>
Returns:
the language the repository is associated

getRepositoryResourcesBase

public abstract String getRepositoryResourcesBase()
Deprecated. 

getInitialReferential

public final List<Rule> getInitialReferential()
Deprecated. 
Specified by:
getInitialReferential in interface RulesRepository<LANG extends Language>
Returns:
the list of rules of the repository

parseReferential

public List<Rule> parseReferential(String fileContent)
Deprecated. 
Description copied from interface: RulesRepository
The method to parse the base referential of rules and return a list of rules

Specified by:
parseReferential in interface RulesRepository<LANG extends Language>
Parameters:
fileContent - the initial referential
Returns:
a list of rules

getRulePriorityMapper

public MAPPER getRulePriorityMapper()
Deprecated. 

getCheckResourcesBase

protected String getCheckResourcesBase()
Deprecated. 


Copyright © 2009-2011 SonarSource. All Rights Reserved.