@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 Rule
public String internalKey()
internalKey
in interface Rule
public RuleStatus status()
public String debtSubCharacteristic()
Rule
debtSubCharacteristic
in interface Rule
public DebtRemediationFunction debtRemediationFunction()
Rule
debtRemediationFunction
in interface Rule
public Collection<RuleParam> params()
Copyright © 2009–2015 SonarSource. All rights reserved.