Package org.jacoco.report.check
Class RulesChecker
java.lang.Object
org.jacoco.report.check.RulesChecker
Formatter which checks a set of given rules and reports violations to a
IViolationsOutput
instance.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateVisitor
(IViolationsOutput output) Creates a new visitor to process the configured checks.void
setLanguageNames
(ILanguageNames languageNames) Sets the implementation for language name display for message formatting.void
Sets the rules to check by this formatter.
-
Field Details
-
rules
-
languageNames
-
-
Constructor Details
-
RulesChecker
public RulesChecker()New formatter instance.
-
-
Method Details
-
setRules
Sets the rules to check by this formatter.- Parameters:
rules
- rules to check
-
setLanguageNames
Sets the implementation for language name display for message formatting. Java language names are defined by default.- Parameters:
languageNames
- converter for language specific names
-
createVisitor
Creates a new visitor to process the configured checks.- Parameters:
output
- call-back to report violations to- Returns:
- visitor to emit the report data to
-