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 |
ResourceModel.getRulesProfile() |
Modifier and Type | Method and Description |
---|---|
void |
ResourceModel.setRulesProfile(RulesProfile rulesProfile) |
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) |
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
|
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) |
Modifier and Type | Method and Description |
---|---|
RulesProfile |
ProfileLoader.load(Project project)
Loads quality profile for specified project.
|
RulesProfile |
DefaultProfileLoader.load(Project project) |
RulesProfile |
ProfileProvider.provide(Project project,
ProfileLoader profileLoader) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultIndex.setCurrentProject(Project project,
ResourceFilters resourceFilters,
ViolationFilters violationFilters,
RulesProfile profile) |
Modifier and Type | Method and Description |
---|---|
RulesProfile |
ProfilesDao.getActiveProfile(String languageKey,
String projectResourceKey) |
RulesProfile |
ProfilesDao.getProfile(String languageKey,
String profileName) |
Modifier and Type | Method and Description |
---|---|
RulesProfile |
SonarWayWithFindbugsProfile.createProfile(ValidationMessages validationMessages) |
RulesProfile |
SunConventionsProfile.createProfile(ValidationMessages messages) |
RulesProfile |
SonarWayProfile.createProfile(ValidationMessages messages) |
RulesProfile |
CheckstyleProfileImporter.importProfile(Reader reader,
ValidationMessages messages) |
Modifier and Type | Method and Description |
---|---|
void |
CheckstyleProfileExporter.exportProfile(RulesProfile profile,
Writer writer) |
Constructor and Description |
---|
CheckstyleConfiguration(Settings conf,
CheckstyleProfileExporter confExporter,
RulesProfile profile,
ProjectFileSystem fileSystem) |
CheckstyleSensor(RulesProfile profile,
CheckstyleExecutor executor) |
Constructor and Description |
---|
CheckAlertThresholds(RulesProfile profile) |
GenerateAlertEvents(RulesProfile profile,
TimeMachine timeMachine) |
ProfileEventsSensor(RulesProfile profile,
TimeMachine timeMachine) |
ProfileSensor(RulesProfile profile,
DatabaseSession session) |
Modifier and Type | Method and Description |
---|---|
RulesProfile |
SonarWayWithFindbugsProfile.createProfile(ValidationMessages messages) |
RulesProfile |
FindbugsProfileImporter.importProfile(Reader findbugsConf,
ValidationMessages messages) |
Modifier and Type | Method and Description |
---|---|
void |
FindbugsProfileExporter.exportProfile(RulesProfile profile,
Writer writer) |
Constructor and Description |
---|
FindbugsConfiguration(Project project,
RulesProfile profile,
FindbugsProfileExporter exporter,
ProjectClasspath classpath) |
FindbugsSensor(RulesProfile profile,
RuleFinder ruleFinder,
FindbugsExecutor executor) |
Modifier and Type | Method and Description |
---|---|
RulesProfile |
SonarWayWithFindbugsProfile.createProfile(ValidationMessages validation) |
RulesProfile |
SunConventionsProfile.createProfile(ValidationMessages validation) |
RulesProfile |
SonarWayProfile.createProfile(ValidationMessages validation) |
protected RulesProfile |
PmdProfileImporter.createRuleProfile(PmdRuleset pmdRuleset,
ValidationMessages messages) |
RulesProfile |
PmdProfileImporter.importProfile(Reader pmdConfigurationFile,
ValidationMessages messages) |
Modifier and Type | Method and Description |
---|---|
void |
PmdProfileExporter.exportProfile(RulesProfile profile,
Writer writer) |
String |
PmdProfileExporter.exportProfile(String repositoryKey,
RulesProfile profile) |
Constructor and Description |
---|
PmdExecutor(Project project,
ProjectFileSystem projectFileSystem,
RulesProfile rulesProfile,
PmdProfileExporter pmdProfileExporter,
PmdConfiguration pmdConfiguration) |
PmdSensor(RulesProfile profile,
PmdExecutor executor,
PmdViolationToRuleViolation pmdViolationToRuleViolation) |
Constructor and Description |
---|
SquidSensor(RulesProfile profile,
NoSonarFilter noSonarFilter,
ProjectClasspath projectClasspath,
ResourceCreationLock lock,
FileLinesContextFactory fileLinesContextFactory) |
Modifier and Type | Method and Description |
---|---|
Collection<RulesProfile> |
SonarConfig.getProfiles() |
Modifier and Type | Method and Description |
---|---|
void |
ProfilesBackup.importProfile(RulesDao rulesDao,
RulesProfile toImport) |
Modifier and Type | Method and Description |
---|---|
void |
SonarConfig.setProfiles(Collection<RulesProfile> profiles) |
Copyright © 2009-2012 SonarSource. All Rights Reserved.