class DisableRulesInCommentsPlugin extends AbstractCodeNarcPlugin
Plugin that enables enablement/disablement of rules (and removing their violations) using comments within the source code
Constructor and description |
---|
DisableRulesInCommentsPlugin
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
processViolationsForFile(FileViolations fileViolations) Remove any violations for rules disabled by comments within the source code. |
Methods inherited from class | Name |
---|---|
class AbstractCodeNarcPlugin |
initialize, processReports, processRules, processViolationsForFile |
Remove any violations for rules disabled by comments within the source code.
fileViolations
- - the FileViolations representing a single source file and its violations