Package | Description |
---|---|
org.sonar.api.profiles | |
org.sonar.api.rules |
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)
Deprecated.
|
abstract RulesProfile |
ProfileImporter.importProfile(Reader reader,
ValidationMessages messages)
Import the profile from a reader.
|
RulesProfile |
XMLProfileParser.parse(Reader reader,
ValidationMessages messages) |
RulesProfile |
AnnotationProfileParser.parse(String repositoryKey,
String profileName,
String language,
Collection<Class> annotatedClasses,
ValidationMessages messages)
Deprecated.
|
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)
Export activated rule from a quality profile to a writer
Note that the quality profile can contain some rules from other plugins.
|
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–2018 SonarSource. All rights reserved.