@Immutable public static class RulesDefinition.Rule extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
activatedByDefault()
Should this rule be enabled by default.
|
DebtRemediationFunction |
debtRemediationFunction() |
String |
debtSubCharacteristic()
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model.
null is
always returned. See https://jira.sonarsource.com/browse/MMF-184 |
String |
effortToFixDescription()
Deprecated.
since 5.5, replaced by
gapDescription() |
boolean |
equals(Object o) |
String |
gapDescription() |
int |
hashCode() |
String |
htmlDescription() |
String |
internalKey() |
String |
key() |
String |
markdownDescription() |
String |
name() |
RulesDefinition.Param |
param(String key) |
List<RulesDefinition.Param> |
params() |
RulesDefinition.Repository |
repository() |
String |
severity() |
RuleStatus |
status() |
Set<String> |
tags() |
boolean |
template() |
String |
toString() |
RuleType |
type() |
public RulesDefinition.Repository repository()
public RuleType type()
RulesDefinition.NewRule.setType(RuleType)
@CheckForNull public String htmlDescription()
@CheckForNull public String markdownDescription()
public boolean template()
public boolean activatedByDefault()
public RuleStatus status()
@CheckForNull @Deprecated public String debtSubCharacteristic()
null
is
always returned. See https://jira.sonarsource.com/browse/MMF-184type()
@CheckForNull public DebtRemediationFunction debtRemediationFunction()
@Deprecated @CheckForNull public String effortToFixDescription()
gapDescription()
@CheckForNull public String gapDescription()
@CheckForNull public RulesDefinition.Param param(String key)
public List<RulesDefinition.Param> params()
@CheckForNull public String internalKey()
Copyright © 2009–2017 SonarSource. All rights reserved.