public class ProfilesManager extends BaseDao
Constructor and Description |
---|
ProfilesManager(DatabaseSession session,
RulesDao rulesDao) |
Modifier and Type | Method and Description |
---|---|
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
|
getSession
public ProfilesManager(DatabaseSession session, RulesDao rulesDao)
public void renameProfile(int profileId, String newProfileName)
public void copyProfile(int profileId, String newProfileName)
public void deleteProfile(int profileId)
public void deleteAllProfiles()
public ValidationMessages changeParentProfile(Integer profileId, String parentName, String userName)
public void activated(int profileId, int activeRuleId, String userName)
public void ruleParamChanged(int profileId, int activeRuleId, String paramKey, String oldValue, String newValue, String userName)
public void ruleSeverityChanged(int profileId, int activeRuleId, RulePriority oldSeverity, RulePriority newSeverity, String userName)
public void deactivated(int parentProfileId, int deactivatedRuleId, String userName)
Copyright © 2009-2012 SonarSource. All Rights Reserved.