org.sonar.api.batch.debt
Class DebtRemediationFunction
java.lang.Object
org.sonar.api.batch.debt.DebtRemediationFunction
public class DebtRemediationFunction
- extends Object
- Since:
- 4.3
create
public static DebtRemediationFunction create(DebtRemediationFunction.Type type,
@Nullable
Duration coefficient,
@Nullable
Duration offset)
createLinear
public static DebtRemediationFunction createLinear(Duration coefficient)
createLinearWithOffset
public static DebtRemediationFunction createLinearWithOffset(Duration coefficient,
Duration offset)
createConstantPerIssue
public static DebtRemediationFunction createConstantPerIssue(Duration offset)
type
public DebtRemediationFunction.Type type()
coefficient
@CheckForNull
public Duration coefficient()
offset
@CheckForNull
public Duration offset()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009–2016 SonarSource. All rights reserved.