org.sonar.api.server.debt
Interface DebtRemediationFunction

All Known Implementing Classes:
DefaultDebtRemediationFunction

public interface DebtRemediationFunction

Function used to calculate the remediation cost of an issue. There are three types :

Since:
4.3

Nested Class Summary
static class DebtRemediationFunction.Type
           
 
Method Summary
 String coefficient()
          Factor is set on types DebtRemediationFunction.Type.LINEAR and DebtRemediationFunction.Type.LINEAR_OFFSET, else it's null.
 String offset()
          Offset is set on types DebtRemediationFunction.Type.LINEAR_OFFSET and DebtRemediationFunction.Type.CONSTANT_ISSUE, else it's null.
 DebtRemediationFunction.Type type()
           
 

Method Detail

type

DebtRemediationFunction.Type type()

coefficient

@CheckForNull
String coefficient()
Factor is set on types DebtRemediationFunction.Type.LINEAR and DebtRemediationFunction.Type.LINEAR_OFFSET, else it's null.


offset

@CheckForNull
String offset()
Offset is set on types DebtRemediationFunction.Type.LINEAR_OFFSET and DebtRemediationFunction.Type.CONSTANT_ISSUE, else it's null.



Copyright © 2009-2014 SonarSource. All Rights Reserved.