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) |
Constructor and Description |
---|
CheckFactory(RulesProfile profile,
String repositoryKey) |
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) |
RulesProfile |
Alert.getRulesProfile() |
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.setEnabled(Boolean b)
Deprecated.
since 3.3.
|
RulesProfile |
RulesProfile.setLanguage(String s)
Set the profile language
|
RulesProfile |
RulesProfile.setName(String s)
Set the profile name.
|
RulesProfile |
RulesProfile.setUsed(Boolean used) |
RulesProfile |
RulesProfile.setVersion(int version) |
Modifier and Type | Method and Description |
---|---|
abstract void |
ProfileExporter.exportProfile(RulesProfile profile,
Writer writer) |
void |
Alert.setRulesProfile(RulesProfile rulesProfile)
Sets the alert profile
|
void |
XMLProfileSerializer.write(RulesProfile profile,
Writer writer) |
Constructor and Description |
---|
Alert(RulesProfile rulesProfile,
Metric metric,
String operator,
String valueError,
String valueWarning)
Creates an alert
|
Alert(RulesProfile rulesProfile,
Metric metric,
String operator,
String valueError,
String valueWarning,
Integer period)
Creates an alert
|
Modifier and Type | Method and Description |
---|---|
RulesProfile |
ActiveRuleChange.getRulesProfile() |
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
|
ActiveRuleChange(String userName,
RulesProfile profile,
Rule rule) |
Copyright © 2009-2013 SonarSource. All Rights Reserved.