api / org.gradle.testing.jacoco.tasks.rules / JacocoViolationRule / getElement

getElement

@Input abstract fun getElement(): String

Gets the element for the rule as defined by org.jacoco.core.analysis.ICoverageNode.ElementType. Valid scope values are BUNDLE, PACKAGE, CLASS, SOURCEFILE and METHOD. Defaults to BUNDLE.