Package hudson.plugins.jacoco
Class JacocoHealthReportThresholds
- java.lang.Object
-
- hudson.plugins.jacoco.JacocoHealthReportThresholds
-
- All Implemented Interfaces:
Serializable
public class JacocoHealthReportThresholds extends Object implements Serializable
Holds the configuration details forHealthReport
generation- Since:
- 1.7
- Author:
- Stephen Connolly
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JacocoHealthReportThresholds.RESULT
-
Constructor Summary
Constructors Constructor Description JacocoHealthReportThresholds()
JacocoHealthReportThresholds(int minClass, int maxClass, int minMethod, int maxMethod, int minLine, int maxLine, int minBranch, int maxBranch, int minInstruction, int maxInstruction, int minComplexity, int maxComplexity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ensureValid()
int
getMaxBranch()
int
getMaxClass()
int
getMaxComplexity()
int
getMaxInstruction()
int
getMaxLine()
int
getMaxMethod()
int
getMinBranch()
int
getMinClass()
int
getMinComplexity()
int
getMinInstruction()
int
getMinLine()
int
getMinMethod()
JacocoHealthReportThresholds.RESULT
getResultByTypeAndRatio(Coverage ratio)
void
setMaxBranch(int maxBranch)
void
setMaxClass(int maxClass)
void
setMaxComplexity(int maxComplexity)
void
setMaxInstruction(int maxInstruction)
void
setMaxLine(int maxLine)
void
setMaxMethod(int maxMethod)
void
setMinBranch(int minBranch)
void
setMinClass(int minClass)
void
setMinComplexity(int minComplexity)
void
setMinInstruction(int minInstruction)
void
setMinLine(int minLine)
void
setMinMethod(int minMethod)
String
toString()
-
-
-
Constructor Detail
-
JacocoHealthReportThresholds
public JacocoHealthReportThresholds()
-
JacocoHealthReportThresholds
public JacocoHealthReportThresholds(int minClass, int maxClass, int minMethod, int maxMethod, int minLine, int maxLine, int minBranch, int maxBranch, int minInstruction, int maxInstruction, int minComplexity, int maxComplexity)
-
-
Method Detail
-
ensureValid
public void ensureValid()
-
getMinClass
public int getMinClass()
-
setMinClass
public void setMinClass(int minClass)
-
getMaxClass
public int getMaxClass()
-
setMaxClass
public void setMaxClass(int maxClass)
-
getMinMethod
public int getMinMethod()
-
setMinMethod
public void setMinMethod(int minMethod)
-
getMaxMethod
public int getMaxMethod()
-
setMaxMethod
public void setMaxMethod(int maxMethod)
-
getMinLine
public int getMinLine()
-
setMinLine
public void setMinLine(int minLine)
-
getMaxLine
public int getMaxLine()
-
setMaxLine
public void setMaxLine(int maxLine)
-
getMinBranch
public int getMinBranch()
-
getMaxBranch
public int getMaxBranch()
-
getMinInstruction
public int getMinInstruction()
-
getMaxInstruction
public int getMaxInstruction()
-
getMinComplexity
public int getMinComplexity()
-
getMaxComplexity
public int getMaxComplexity()
-
setMinBranch
public void setMinBranch(int minBranch)
-
setMaxBranch
public void setMaxBranch(int maxBranch)
-
setMinInstruction
public void setMinInstruction(int minInstruction)
-
setMaxInstruction
public void setMaxInstruction(int maxInstruction)
-
setMinComplexity
public void setMinComplexity(int minComplexity)
-
setMaxComplexity
public void setMaxComplexity(int maxComplexity)
-
getResultByTypeAndRatio
public JacocoHealthReportThresholds.RESULT getResultByTypeAndRatio(Coverage ratio)
-
-