|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.api.rules.ActiveRule
public class ActiveRule
A class to map an ActiveRule to the hibernate model
Field Summary | |
---|---|
static String |
INHERITED
|
static String |
OVERRIDES
|
Constructor Summary | |
---|---|
ActiveRule()
Deprecated. visibility should be reduced to protected or package |
|
ActiveRule(RulesProfile profile,
Rule rule,
RulePriority severity)
Deprecated. visibility should be reduced to protected or package |
Method Summary | |
---|---|
Object |
clone()
|
boolean |
doesOverride()
|
boolean |
equals(Object o)
|
List<ActiveRuleParam> |
getActiveRuleParams()
|
String |
getConfigKey()
|
Integer |
getId()
|
String |
getInheritance()
For internal use only. |
Date |
getNoteCreatedAt()
|
String |
getNoteData()
|
Date |
getNoteUpdatedAt()
|
String |
getNoteUserLogin()
|
String |
getParameter(String key)
|
String |
getPluginName()
Deprecated. since 2.3 use getRepositoryKey() instead |
RulePriority |
getPriority()
Deprecated. since 2.5 use getSeverity() instead. See http://jira.codehaus.org/browse/SONAR-1829 |
String |
getRepositoryKey()
|
Rule |
getRule()
|
String |
getRuleKey()
|
RulesProfile |
getRulesProfile()
|
RulePriority |
getSeverity()
|
int |
hashCode()
|
boolean |
isEnabled()
|
boolean |
isInherited()
|
void |
setActiveRuleParams(List<ActiveRuleParam> params)
Deprecated. use setParameter() |
void |
setId(Integer id)
Deprecated. visibility should be decreased to protected or package |
void |
setInheritance(String s)
For internal use only. |
ActiveRule |
setParameter(String key,
String value)
|
void |
setPriority(RulePriority priority)
Deprecated. since 2.5 use setSeverity(RulePriority) instead. See http://jira.codehaus.org/browse/SONAR-1829 |
void |
setRule(Rule rule)
Deprecated. visibility should be reduced to protected or package |
void |
setRulesProfile(RulesProfile rulesProfile)
Deprecated. visibility should be reduced to protected or package |
void |
setSeverity(RulePriority severity)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String INHERITED
public static final String OVERRIDES
Constructor Detail |
---|
@Deprecated public ActiveRule()
@Deprecated public ActiveRule(RulesProfile profile, Rule rule, RulePriority severity)
Method Detail |
---|
public Integer getId()
public String getInheritance()
public void setInheritance(String s)
public boolean isInherited()
public boolean doesOverride()
@Deprecated public void setId(Integer id)
public Rule getRule()
@Deprecated public void setRule(Rule rule)
public RulePriority getSeverity()
public void setSeverity(RulePriority severity)
@Deprecated public RulePriority getPriority()
getSeverity()
instead. See http://jira.codehaus.org/browse/SONAR-1829
@Deprecated public void setPriority(RulePriority priority)
setSeverity(RulePriority)
instead. See http://jira.codehaus.org/browse/SONAR-1829
public RulesProfile getRulesProfile()
@Deprecated public void setRulesProfile(RulesProfile rulesProfile)
public List<ActiveRuleParam> getActiveRuleParams()
@Deprecated public void setActiveRuleParams(List<ActiveRuleParam> params)
public ActiveRule setParameter(String key, String value)
public String getParameter(String key)
@Deprecated public String getPluginName()
getRepositoryKey()
instead
public String getRepositoryKey()
public String getConfigKey()
public String getRuleKey()
public String getNoteData()
public String getNoteUserLogin()
public Date getNoteCreatedAt()
public Date getNoteUpdatedAt()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public Object clone()
clone
in class Object
public boolean isEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |