Class DefaultDebtRemediationFunction
- java.lang.Object
-
- org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
-
- All Implemented Interfaces:
DebtRemediationFunction
public class DefaultDebtRemediationFunction extends java.lang.Object implements DebtRemediationFunction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.api.server.debt.DebtRemediationFunction
DebtRemediationFunction.Type
-
-
Constructor Summary
Constructors Constructor Description DefaultDebtRemediationFunction(DebtRemediationFunction.Type type, java.lang.String gapMultiplier, java.lang.String baseEffort)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringbaseEffort()Non-null value onDebtRemediationFunction.Type.LINEAR_OFFSETandDebtRemediationFunction.Type.CONSTANT_ISSUEfunctions, elsenull.java.lang.Stringcoefficient()Deprecated.since 5.5, replaced bygapMultiplierbooleanequals(java.lang.Object o)java.lang.StringgapMultiplier()Non-null value onDebtRemediationFunction.Type.LINEARandDebtRemediationFunction.Type.LINEAR_OFFSETfunctions, elsenull.inthashCode()java.lang.Stringoffset()Deprecated.since 5.5, replaced bybaseEffortjava.lang.StringtoString()DebtRemediationFunction.Typetype()
-
-
-
Constructor Detail
-
DefaultDebtRemediationFunction
public DefaultDebtRemediationFunction(@Nullable DebtRemediationFunction.Type type, @Nullable java.lang.String gapMultiplier, @Nullable java.lang.String baseEffort)
-
-
Method Detail
-
type
public DebtRemediationFunction.Type type()
- Specified by:
typein interfaceDebtRemediationFunction
-
coefficient
@CheckForNull @Deprecated public java.lang.String coefficient()
Deprecated.since 5.5, replaced bygapMultiplier- Specified by:
coefficientin interfaceDebtRemediationFunction
-
gapMultiplier
@CheckForNull public java.lang.String gapMultiplier()
Description copied from interface:DebtRemediationFunctionNon-null value onDebtRemediationFunction.Type.LINEARandDebtRemediationFunction.Type.LINEAR_OFFSETfunctions, elsenull.- Specified by:
gapMultiplierin interfaceDebtRemediationFunction
-
offset
@CheckForNull @Deprecated public java.lang.String offset()
Deprecated.since 5.5, replaced bybaseEffort- Specified by:
offsetin interfaceDebtRemediationFunction
-
baseEffort
public java.lang.String baseEffort()
Description copied from interface:DebtRemediationFunctionNon-null value onDebtRemediationFunction.Type.LINEAR_OFFSETandDebtRemediationFunction.Type.CONSTANT_ISSUEfunctions, elsenull.- Specified by:
baseEffortin interfaceDebtRemediationFunction
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-