public interface DebtRemediationFunction
DebtRemediationFunction.Type
for details.
The coefficient and offset involved in the functions are durations. They are defined in hours, minutes and/or seconds. Examples: "5min", "1h 10min". Supported units are "d" (days), "h" (hour), and "min" (minutes).
Modifier and Type | Interface and Description |
---|---|
static class |
DebtRemediationFunction.Type |
Modifier and Type | Method and Description |
---|---|
String |
coefficient()
Non-null value on
DebtRemediationFunction.Type.LINEAR and DebtRemediationFunction.Type.LINEAR_OFFSET functions, else null . |
String |
offset()
Non-null value on
DebtRemediationFunction.Type.LINEAR_OFFSET and DebtRemediationFunction.Type.CONSTANT_ISSUE functions, else null . |
DebtRemediationFunction.Type |
type() |
DebtRemediationFunction.Type type()
@CheckForNull String coefficient()
DebtRemediationFunction.Type.LINEAR
and DebtRemediationFunction.Type.LINEAR_OFFSET
functions, else null
.@CheckForNull String offset()
DebtRemediationFunction.Type.LINEAR_OFFSET
and DebtRemediationFunction.Type.CONSTANT_ISSUE
functions, else null
.Copyright © 2009–2016 SonarSource. All rights reserved.