Package hudson.plugins.jacoco
Class JacocoHealthReportDeltaThresholds
- java.lang.Object
-
- hudson.plugins.jacoco.JacocoHealthReportDeltaThresholds
-
public class JacocoHealthReportDeltaThresholds extends Object
This class encapsulates delta thresholds configured by the user. The threshold values are interpreted as percentages
-
-
Constructor Summary
Constructors Constructor Description JacocoHealthReportDeltaThresholds()
JacocoHealthReportDeltaThresholds(String deltaInstruction, String deltaBranch, String deltaComplexity, String deltaLine, String deltaMethod, String deltaClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ensureValid()
float
getDeltaBranch()
float
getDeltaClass()
float
getDeltaComplexity()
float
getDeltaInstruction()
float
getDeltaLine()
float
getDeltaMethod()
void
setDeltaBranch(float deltaBranch)
void
setDeltaClass(float deltaClass)
void
setDeltaComplexity(float deltaComplexity)
void
setDeltaInstruction(float deltaInstruction)
void
setDeltaLine(float deltaLine)
void
setDeltaMethod(float deltaMethod)
String
toString()
-
-
-
Method Detail
-
ensureValid
public void ensureValid()
-
getDeltaInstruction
public float getDeltaInstruction()
-
setDeltaInstruction
public void setDeltaInstruction(float deltaInstruction)
-
getDeltaBranch
public float getDeltaBranch()
-
setDeltaBranch
public void setDeltaBranch(float deltaBranch)
-
getDeltaComplexity
public float getDeltaComplexity()
-
setDeltaComplexity
public void setDeltaComplexity(float deltaComplexity)
-
getDeltaLine
public float getDeltaLine()
-
setDeltaLine
public void setDeltaLine(float deltaLine)
-
getDeltaMethod
public float getDeltaMethod()
-
setDeltaMethod
public void setDeltaMethod(float deltaMethod)
-
getDeltaClass
public float getDeltaClass()
-
setDeltaClass
public void setDeltaClass(float deltaClass)
-
-