org.sonar.api.batch.rule
Interface Rule
- All Known Implementing Classes:
- DefaultRule
public interface Rule
- Since:
- 4.2
key
RuleKey key()
name
String name()
description
@CheckForNull
String description()
internalKey
@CheckForNull
String internalKey()
severity
String severity()
param
@CheckForNull
RuleParam param(String paramKey)
params
Collection<RuleParam> params()
status
RuleStatus status()
debtSubCharacteristic
@CheckForNull
String debtSubCharacteristic()
- Sub characteristic key.
- Since:
- 4.3
debtRemediationFunction
@CheckForNull
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)
- Since:
- 4.3
Copyright © 2009-2014 SonarSource. All Rights Reserved.