Interface JacocoLimit
- All Superinterfaces:
- Serializable
Defines a Jacoco rule limit.
- Since:
- 3.4
- 
Method SummaryModifier and TypeMethodDescriptionThe counter that applies to the limit as defined by org.jacoco.core.analysis.ICoverageNode.CounterEntity.Gets the maximum expected value for limit.Gets the minimum expected value for limit.getValue()The value that applies to the limit as defined by org.jacoco.core.analysis.ICounter.CounterValue.voidsetCounter(String counter) Sets the counter that applies to the limit.voidsetMaximum(BigDecimal maximum) Sets the maximum expected value for limit.voidsetMinimum(BigDecimal minimum) Sets the minimum expected value for limit.voidSets the value that applies to the limit.
- 
Method Details- 
getCounterThe counter that applies to the limit as defined by org.jacoco.core.analysis.ICoverageNode.CounterEntity. Valid values are INSTRUCTION, LINE, BRANCH, COMPLEXITY, METHOD and CLASS. Defaults to INSTRUCTION.
- 
setCounterSets the counter that applies to the limit.- Parameters:
- counter- Counter
 
- 
getValueThe value that applies to the limit as defined by org.jacoco.core.analysis.ICounter.CounterValue. Valid values are TOTALCOUNT, MISSEDCOUNT, COVEREDCOUNT, MISSEDRATIO and COVEREDRATIO. Defaults to COVEREDRATIO.
- 
setValueSets the value that applies to the limit.- Parameters:
- value- Value
 
- 
getMinimumGets the minimum expected value for limit. Default to null.
- 
setMinimumSets the minimum expected value for limit.- Parameters:
- minimum- Minimum
 
- 
getMaximumGets the maximum expected value for limit. Default to null.
- 
setMaximumSets the maximum expected value for limit.- Parameters:
- maximum- Maximum
 
 
-