org.sonar.api.database.daos
Class RulesDao

java.lang.Object
  extended by org.sonar.api.database.daos.RulesDao

Deprecated.

@Deprecated
public class RulesDao
extends Object


Constructor Summary
RulesDao(RulesDao target)
          Deprecated.  
 
Method Summary
 void addActiveRulesToProfile(List<ActiveRule> activeRules, int profileId, String pluginKey)
          Deprecated.  
 Long countRules(List<String> plugins, String categoryName)
          Deprecated.  
 List<RulesCategory> getCategories()
          Deprecated.  
 RulesCategory getCategory(String key)
          Deprecated.  
 RulesProfile getProfileById(int profileId)
          Deprecated.  
 Rule getRuleByKey(String pluginKey, String ruleKey)
          Deprecated.  
 RuleParam getRuleParam(Rule rule, String paramKey)
          Deprecated.  
 List<RuleParam> getRuleParams()
          Deprecated.  
 List<Rule> getRules()
          Deprecated.  
 List<Rule> getRulesByCategory(RulesCategory categ)
          Deprecated.  
 List<Rule> getRulesByPlugin(String pluginKey)
          Deprecated.  
 List<RuleFailureModel> getViolations(Snapshot snapshot)
          Deprecated.  
 boolean isRuleParamEqual(RuleParam ruleParam, RuleParam ruleParamFromDatabase, String ruleKey, String pluginKey)
          Deprecated.  
 void synchronizeRuleOfActiveRule(ActiveRule activeRule, String pluginKey)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RulesDao

public RulesDao(RulesDao target)
Deprecated. 
Method Detail

getRules

public List<Rule> getRules()
Deprecated. 

getRulesByPlugin

public List<Rule> getRulesByPlugin(String pluginKey)
Deprecated. 

getRulesByCategory

public List<Rule> getRulesByCategory(RulesCategory categ)
Deprecated. 

getRuleByKey

public Rule getRuleByKey(String pluginKey,
                         String ruleKey)
Deprecated. 

countRules

public Long countRules(List<String> plugins,
                       String categoryName)
Deprecated. 

getCategories

public List<RulesCategory> getCategories()
Deprecated. 

getCategory

public RulesCategory getCategory(String key)
Deprecated. 

getRuleParams

public List<RuleParam> getRuleParams()
Deprecated. 

getRuleParam

public RuleParam getRuleParam(Rule rule,
                              String paramKey)
Deprecated. 

addActiveRulesToProfile

public void addActiveRulesToProfile(List<ActiveRule> activeRules,
                                    int profileId,
                                    String pluginKey)
Deprecated. 

getViolations

public List<RuleFailureModel> getViolations(Snapshot snapshot)
Deprecated. 

synchronizeRuleOfActiveRule

public void synchronizeRuleOfActiveRule(ActiveRule activeRule,
                                        String pluginKey)
Deprecated. 

isRuleParamEqual

public boolean isRuleParamEqual(RuleParam ruleParam,
                                RuleParam ruleParamFromDatabase,
                                String ruleKey,
                                String pluginKey)
Deprecated. 

getProfileById

public RulesProfile getProfileById(int profileId)
Deprecated. 


Copyright © 2009-2010 SonarSource. All Rights Reserved.