public class ActiveRule extends Object implements Cloneable
| Modifier and Type | Field and Description | 
|---|---|
| static String | INHERITED | 
| static String | OVERRIDES | 
| Constructor and Description | 
|---|
| 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 | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | clone() | 
| boolean | doesOverride() | 
| boolean | equals(Object o) | 
| List<ActiveRuleParam> | getActiveRuleParams() | 
| String | getConfigKey() | 
| Integer | getId() | 
| String | getInheritance()For internal use only. | 
| Date | getNoteCreatedAt()Deprecated. 
 in 4.4. Feature dropped. | 
| String | getNoteData()Deprecated. 
 in 4.4. Feature dropped. | 
| Date | getNoteUpdatedAt()Deprecated. 
 in 4.4. Feature dropped. | 
| String | getNoteUserLogin()Deprecated. 
 in 4.4. Feature dropped. | 
| 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.sonarsource.com/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.sonarsource.com/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() | 
public static final String INHERITED
public static final String OVERRIDES
@Deprecated public ActiveRule()
@Deprecated public ActiveRule(RulesProfile profile, Rule rule, RulePriority severity)
public String getInheritance()
public void setInheritance(String s)
public boolean isInherited()
public boolean doesOverride()
@Deprecated public void setId(Integer id)
@Deprecated public void setRule(Rule rule)
public RulePriority getSeverity()
public void setSeverity(RulePriority severity)
@Deprecated public RulePriority getPriority()
getSeverity() instead. See http://jira.sonarsource.com/browse/SONAR-1829@Deprecated public void setPriority(RulePriority priority)
setSeverity(RulePriority) instead. See http://jira.sonarsource.com/browse/SONAR-1829public 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() insteadpublic String getRepositoryKey()
public String getConfigKey()
public String getRuleKey()
@CheckForNull @Deprecated public String getNoteData()
@CheckForNull @Deprecated public String getNoteUserLogin()
@CheckForNull @Deprecated public Date getNoteCreatedAt()
@CheckForNull @Deprecated public Date getNoteUpdatedAt()
public boolean isEnabled()
Copyright © 2009–2016 SonarSource. All rights reserved.