Interface JacocoLimit
- All Superinterfaces:
Serializable
-
Method Summary
Modifier and TypeMethodDescriptionThe counter that applies to the limit as defined by org.jacoco.core.analysis.ICoverageNode.CounterEntity.@Nullable BigDecimalGets the maximum expected value for limit.@Nullable BigDecimalGets 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(@Nullable BigDecimal maximum) Sets the maximum expected value for limit.voidsetMinimum(@Nullable BigDecimal minimum) Sets the minimum expected value for limit.voidSets the value that applies to the limit.
-
Method Details
-
getCounter
The 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.- Since:
- 3.4
-
setCounter
Sets the counter that applies to the limit.- Parameters:
counter- Counter- Since:
- 3.4
-
getValue
The 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.- Since:
- 3.4
-
setValue
Sets the value that applies to the limit.- Parameters:
value- Value- Since:
- 3.4
-
getMinimum
Gets the minimum expected value for limit. Default to null.- Since:
- 3.4
-
setMinimum
Sets the minimum expected value for limit.- Parameters:
minimum- Minimum- Since:
- 3.4
-
getMaximum
Gets the maximum expected value for limit. Default to null.- Since:
- 3.4
-
setMaximum
Sets the maximum expected value for limit.- Parameters:
maximum- Maximum- Since:
- 3.4
-