public class DebtRemediationFunction extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DebtRemediationFunction.Type |
Modifier and Type | Method and Description |
---|---|
Duration |
coefficient() |
static DebtRemediationFunction |
create(DebtRemediationFunction.Type type,
Duration coefficient,
Duration offset) |
static DebtRemediationFunction |
createConstantPerIssue(Duration offset) |
static DebtRemediationFunction |
createLinear(Duration coefficient) |
static DebtRemediationFunction |
createLinearWithOffset(Duration coefficient,
Duration offset) |
boolean |
equals(Object o) |
int |
hashCode() |
Duration |
offset() |
String |
toString() |
DebtRemediationFunction.Type |
type() |
public static DebtRemediationFunction create(DebtRemediationFunction.Type type, @Nullable Duration coefficient, @Nullable Duration offset)
public static DebtRemediationFunction createLinear(Duration coefficient)
public static DebtRemediationFunction createLinearWithOffset(Duration coefficient, Duration offset)
public static DebtRemediationFunction createConstantPerIssue(Duration offset)
public DebtRemediationFunction.Type type()
@CheckForNull public Duration coefficient()
@CheckForNull public Duration offset()
Copyright © 2009–2015 SonarSource. All rights reserved.