rule

abstract fun rule(configureAction: Action<out Any>): JacocoViolationRule(source)

Adds a violation rule. Any number of rules can be added.