org.sonar.plugins.api.rules
Class AbstractImportableRulesRepository

java.lang.Object
  extended by org.sonar.plugins.api.rules.AbstractRulesRepository
      extended by org.sonar.plugins.api.rules.AbstractImportableRulesRepository
All Implemented Interfaces:
Extension, MavenExtension, ConfigurationImportable, RulesRepository, ServerExtension

public abstract class AbstractImportableRulesRepository
extends AbstractRulesRepository
implements ConfigurationImportable


Constructor Summary
AbstractImportableRulesRepository()
           
 
Method Summary
abstract  java.util.Map<java.lang.String,java.lang.String> getBuiltInProfiles()
          A map a of profiles to import, The profile naem as key, and the xml profile file name in the classpath
 java.util.List<RulesProfile> getProvidedProfiles()
           
 RulesProfile loadProvidedProfile(java.lang.String name, java.lang.String fileName)
           
 
Methods inherited from class org.sonar.plugins.api.rules.AbstractRulesRepository
getCheckResourcesBase, getInitialReferential, getRepositoryResourcesBase, parseReferential
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sonar.plugins.api.rules.ConfigurationImportable
importConfiguration
 
Methods inherited from interface org.sonar.plugins.api.rules.RulesRepository
getLanguage
 

Constructor Detail

AbstractImportableRulesRepository

public AbstractImportableRulesRepository()
Method Detail

getBuiltInProfiles

public abstract java.util.Map<java.lang.String,java.lang.String> getBuiltInProfiles()
A map a of profiles to import, The profile naem as key, and the xml profile file name in the classpath

Returns:

getProvidedProfiles

public final java.util.List<RulesProfile> getProvidedProfiles()
Specified by:
getProvidedProfiles in interface RulesRepository

loadProvidedProfile

public final RulesProfile loadProvidedProfile(java.lang.String name,
                                              java.lang.String fileName)


Copyright © 2009 SonarSource SA. All Rights Reserved.