@Incubating public interface JacocoViolationRule extends Serializable
| Modifier and Type | Method and Description | 
|---|---|
| String | getElement()Gets the element for the rule as defined by
 org.jacoco.core.analysis.ICoverageNode.ElementType. | 
| List<String> | getExcludes()List of elements that should be excluded from check. | 
| List<String> | getIncludes()List of elements that should be included in check. | 
| List<JacocoLimit> | getLimits()Gets all limits defined for this rule. | 
| boolean | isEnabled()Indicates if the rule should be used when checking generated coverage metrics. | 
| JacocoLimit | limit(Action<? super JacocoLimit> configureAction)Adds a limit for this rule. | 
| void | setElement(String element)Sets element for the rule. | 
| void | setEnabled(boolean enabled) | 
| void | setExcludes(List<String> excludes)Sets list of elements that should be excluded from check. | 
| void | setIncludes(List<String> includes)Sets list of elements that should be included in check. | 
void setEnabled(boolean enabled)
@Input boolean isEnabled()
void setElement(String element)
element - Element@Input String getElement()
void setIncludes(List<String> includes)
includes - Inclusions@Input List<String> getIncludes()
void setExcludes(List<String> excludes)
excludes - Exclusions@Input List<String> getExcludes()
@Input List<JacocoLimit> getLimits()
JacocoLimit limit(Action<? super JacocoLimit> configureAction)