| Package | Description | 
|---|---|
| org.sonar.api.checks | |
| org.sonar.api.profiles | |
| org.sonar.api.rules | 
| Modifier and Type | Method and Description | 
|---|---|
static AnnotationCheckFactory | 
AnnotationCheckFactory.create(RulesProfile profile,
            String repositoryKey,
            Collection checkClasses)
Deprecated.  
  | 
| Constructor and Description | 
|---|
CheckFactory(RulesProfile profile,
                        String repositoryKey)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
RulesProfile | 
RulesProfile.addActiveRule(ActiveRule activeRule)  | 
static RulesProfile | 
RulesProfile.create()  | 
static RulesProfile | 
RulesProfile.create(String name,
            String language)  | 
abstract RulesProfile | 
ProfileDefinition.createProfile(ValidationMessages validation)  | 
abstract RulesProfile | 
ProfileImporter.importProfile(Reader reader,
                          ValidationMessages messages)  | 
RulesProfile | 
XMLProfileParser.parse(Reader reader,
          ValidationMessages messages)  | 
RulesProfile | 
AnnotationProfileParser.parse(String repositoryKey,
          String profileName,
          String language,
          Collection<Class> annotatedClasses,
          ValidationMessages messages)  | 
RulesProfile | 
XMLProfileParser.parseResource(ClassLoader classloader,
                          String xmlClassPath,
                          ValidationMessages messages)  | 
RulesProfile | 
RulesProfile.removeActiveRule(ActiveRule activeRule)  | 
RulesProfile | 
RulesProfile.setLanguage(String s)
Set the profile language 
 | 
RulesProfile | 
RulesProfile.setName(String s)
Set the profile name. 
 | 
RulesProfile | 
RulesProfile.setUsed(Boolean used)
Deprecated. 
 
profile versioning is dropped in 4.4. Always returns -1. 
 | 
RulesProfile | 
RulesProfile.setVersion(int version)
Deprecated. 
 
profile versioning is dropped in 4.4. Always returns -1. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
ProfileExporter.exportProfile(RulesProfile profile,
                          Writer writer)  | 
void | 
XMLProfileSerializer.write(RulesProfile profile,
          Writer writer)  | 
| Modifier and Type | Method and Description | 
|---|---|
RulesProfile | 
ActiveRule.getRulesProfile()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ActiveRule.setRulesProfile(RulesProfile rulesProfile)
Deprecated. 
 
visibility should be reduced to protected or package 
 | 
| Constructor and Description | 
|---|
ActiveRule(RulesProfile profile,
                    Rule rule,
                    RulePriority severity)
Deprecated. 
 
visibility should be reduced to protected or package 
 | 
Copyright © 2009–2015 SonarSource. All rights reserved.