Interface BeforeExecutionFileFilter
- All Known Implementing Classes:
BeforeExecutionExclusionFileFilter,BeforeExecutionFileFilterSet
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An interface for before execution file filtering events.
-
Method Summary
-
Method Details
-
accept
Determines whether or not a before execution file filtered event is accepted. An accepted file is processed by Checkstyle and its violations are kept in the final report; a rejected file is excluded from processing entirely. In other words, returningtruelets the file (and any resulting violations) reach the report, while returningfalseskips the file.- Parameters:
uri- the uri to filter.- Returns:
- true if the file is accepted and should be processed; false to exclude the file so its violations never reach the final report.
-