org.sonar.api.rules
Class ActiveRule

java.lang.Object
  extended by org.sonar.api.database.BaseIdentifiable
      extended by org.sonar.api.rules.ActiveRule
All Implemented Interfaces:
Cloneable

public class ActiveRule
extends BaseIdentifiable
implements Cloneable


Constructor Summary
ActiveRule()
           
ActiveRule(RulesProfile profile, Rule rule, RulePriority priority)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object o)
           
 List<ActiveRuleParam> getActiveRuleParams()
           
 String getConfigKey()
           
 String getPluginName()
           
 RulePriority getPriority()
           
 Rule getRule()
           
 String getRuleKey()
           
 RulesProfile getRulesProfile()
           
 int hashCode()
           
 void setActiveRuleParams(List<ActiveRuleParam> params)
           
 void setPriority(RulePriority priority)
           
 void setRule(Rule rule)
           
 void setRulesProfile(RulesProfile rulesProfile)
           
 String toString()
           
 
Methods inherited from class org.sonar.api.database.BaseIdentifiable
getId, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActiveRule

public ActiveRule()

ActiveRule

public ActiveRule(RulesProfile profile,
                  Rule rule,
                  RulePriority priority)
Method Detail

getRule

public Rule getRule()

setRule

public void setRule(Rule rule)

getPriority

public RulePriority getPriority()

setPriority

public void setPriority(RulePriority priority)

getRulesProfile

public RulesProfile getRulesProfile()

setRulesProfile

public void setRulesProfile(RulesProfile rulesProfile)

getActiveRuleParams

public List<ActiveRuleParam> getActiveRuleParams()

setActiveRuleParams

public void setActiveRuleParams(List<ActiveRuleParam> params)

getPluginName

public String getPluginName()

getConfigKey

public String getConfigKey()

getRuleKey

public String getRuleKey()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

clone

public Object clone()
Overrides:
clone in class Object


Copyright © 2009 SonarSource SA. All Rights Reserved.