@Immutable public class DefaultRule extends Object implements Rule
| Modifier and Type | Method and Description |
|---|---|
DebtRemediationFunction |
debtRemediationFunction()
Remediation function : can by Linear (with a coefficient), Linear with offset (with a coefficient and an offset) or Constant per issue (with an offset)
|
String |
debtSubCharacteristic()
Sub characteristic key.
|
String |
description() |
Integer |
id() |
String |
internalKey() |
RuleKey |
key() |
String |
name() |
RuleParam |
param(String paramKey) |
Collection<RuleParam> |
params() |
String |
severity() |
RuleStatus |
status() |
@CheckForNull public Integer id()
public String description()
description in interface Rulepublic String internalKey()
internalKey in interface Rulepublic RuleStatus status()
public String debtSubCharacteristic()
RuledebtSubCharacteristic in interface Rulepublic DebtRemediationFunction debtRemediationFunction()
RuledebtRemediationFunction in interface Rulepublic Collection<RuleParam> params()
Copyright © 2009–2015 SonarSource. All rights reserved.