Events (i.e. CheckStyle warnings) are switched off by a "magic line" or back on by another magic line.
After the "off" magic line, events do not show if at least one of the following conditions is true:
- The "checkNameFormat" (if set) is found in the check name (e.g. "de.unkrig.cscontrib.checks.Alignment")
- The "messageFormat" (if set) is found in the event message
- The "moduleIdFormat" (if set) is found in the ID of the module that generated the event
-
-
Property Detail
-
offFormat = regular-expression (optional; default value is "CHECKSTYLE (.+):OFF")
Line pattern to trigger filter to begin suppression.
-
onFormat = regular-expression (optional; default value is "CHECKSTYLE (.+):ON")
Line pattern to trigger filter to end suppression.
-
checkNameFormat = regular-expression (optional; default value is "$1")
Check name pattern to suppress.
-
messageFormat = regular-expression (optional; default value is "$1")
Message pattern to suppress.
-
moduleIdFormat = regular-expression (optional; default value is "$1")
Module ID pattern to suppress.