org.sonar.api.batch.rule
Interface Rule

All Known Implementing Classes:
DefaultRule

public interface Rule

Since:
4.2

Method Summary
 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()
           
 String internalKey()
           
 RuleKey key()
           
 String name()
           
 RuleParam param(String paramKey)
           
 Collection<RuleParam> params()
           
 String severity()
           
 RuleStatus status()
           
 

Method Detail

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–2015 SonarSource. All rights reserved.