org.sonar.server.configuration
Class ProfilesManager
java.lang.Object
org.sonar.jpa.dao.BaseDao
org.sonar.server.configuration.ProfilesManager
public class ProfilesManager
- extends BaseDao
Method Summary |
void |
activated(int profileId,
int activeRuleId,
String userName)
Rule was activated |
ValidationMessages |
changeParentProfile(Integer profileId,
String parentName,
String userName)
|
void |
copyProfile(int profileId,
String newProfileName)
|
void |
deactivated(int parentProfileId,
int deactivatedRuleId,
String userName)
Rule was deactivated in parent profile. |
void |
deleteAllProfiles()
|
void |
deleteProfile(int profileId)
|
void |
renameProfile(int profileId,
String newProfileName)
|
void |
revert(int profileId,
int activeRuleId,
String userName)
|
void |
ruleParamChanged(int profileId,
int activeRuleId,
String paramKey,
String oldValue,
String newValue,
String userName)
Rule param was changed |
void |
ruleSeverityChanged(int profileId,
int activeRuleId,
RulePriority oldSeverity,
RulePriority newSeverity,
String userName)
Rule severity was changed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfilesManager
public ProfilesManager(DatabaseSession session,
RulesDao rulesDao)
renameProfile
public void renameProfile(int profileId,
String newProfileName)
copyProfile
public void copyProfile(int profileId,
String newProfileName)
deleteProfile
public void deleteProfile(int profileId)
deleteAllProfiles
public void deleteAllProfiles()
changeParentProfile
public ValidationMessages changeParentProfile(Integer profileId,
String parentName,
String userName)
activated
public void activated(int profileId,
int activeRuleId,
String userName)
- Rule was activated
ruleParamChanged
public void ruleParamChanged(int profileId,
int activeRuleId,
String paramKey,
String oldValue,
String newValue,
String userName)
- Rule param was changed
ruleSeverityChanged
public void ruleSeverityChanged(int profileId,
int activeRuleId,
RulePriority oldSeverity,
RulePriority newSeverity,
String userName)
- Rule severity was changed
deactivated
public void deactivated(int parentProfileId,
int deactivatedRuleId,
String userName)
- Rule was deactivated in parent profile.
revert
public void revert(int profileId,
int activeRuleId,
String userName)
Copyright © 2009-2012 SonarSource. All Rights Reserved.