java.io.Serializablepublic interface JacocoViolationRule
extends java.io.Serializable
| Modifier and Type | Method | Description | 
|---|---|---|
| java.lang.String | getElement() | Gets the element for the rule as defined by
 org.jacoco.core.analysis.ICoverageNode.ElementType. | 
| java.util.List<java.lang.String> | getExcludes() | List of elements that should be excluded from check. | 
| java.util.List<java.lang.String> | getIncludes() | List of elements that should be included in check. | 
| java.util.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(java.lang.String element) | Sets element for the rule. | 
| void | setEnabled(boolean enabled) | |
| void | setExcludes(java.util.List<java.lang.String> excludes) | Sets list of elements that should be excluded from check. | 
| void | setIncludes(java.util.List<java.lang.String> includes) | Sets list of elements that should be included in check. | 
void setEnabled(boolean enabled)
@Input boolean isEnabled()
void setElement(java.lang.String element)
element - Element@Input java.lang.String getElement()
void setIncludes(java.util.List<java.lang.String> includes)
includes - Inclusions@Input java.util.List<java.lang.String> getIncludes()
void setExcludes(java.util.List<java.lang.String> excludes)
excludes - Exclusions@Input java.util.List<java.lang.String> getExcludes()
@Input java.util.List<JacocoLimit> getLimits()
JacocoLimit limit(Action<? super JacocoLimit> configureAction)