# JacocoLimit

interface JacocoLimit : Serializable

Defines a Jacoco rule limit.

#### Since

3.4

## Functions

getCounter
Link copied to clipboard
@Input
abstract fun getCounter(): String
The counter that applies to the limit as defined by org.jacoco.core.analysis.ICoverageNode.CounterEntity.
getMaximum
Link copied to clipboard
@Nullable
@Optional
@Input
abstract fun getMaximum(): BigDecimal
Gets the maximum expected value for limit.
getMinimum
Link copied to clipboard
@Nullable
@Optional
@Input
abstract fun getMinimum(): BigDecimal
Gets the minimum expected value for limit.
getValue
Link copied to clipboard
@Input
abstract fun getValue(): String
The value that applies to the limit as defined by org.jacoco.core.analysis.ICounter.CounterValue.
setCounter
Link copied to clipboard
abstract fun setCounter(counter: String)
Sets the counter that applies to the limit.
setMaximum
Link copied to clipboard
abstract fun setMaximum(@Nullable maximum: BigDecimal)
Sets the maximum expected value for limit.
setMinimum
Link copied to clipboard
abstract fun setMinimum(@Nullable minimum: BigDecimal)
Sets the minimum expected value for limit.
setValue
Link copied to clipboard
abstract fun setValue(value: String)
Sets the value that applies to the limit.