Class NullFileNameFilter
java.lang.Object
io.jenkins.plugins.analysis.core.filter.FileNameFilter
io.jenkins.plugins.analysis.core.filter.NullFileNameFilter
- All Implemented Interfaces:
Predicate<edu.hm.hafner.analysis.Issue>
A null object implementation of
FileNameFilter that accepts every issue. It is used when no file
inclusion list has been configured, so that the report is passed through unchanged.- Author:
- Michael Trimarchi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(edu.hm.hafner.analysis.Issue issue) Evaluates this predicate on the given issue.
-
Constructor Details
-
NullFileNameFilter
public NullFileNameFilter()Creates a new instance ofNullFileNameFilter.
-
-
Method Details
-
test
public boolean test(edu.hm.hafner.analysis.Issue issue) Description copied from class:FileNameFilterEvaluates this predicate on the given issue.- Specified by:
testin interfacePredicate<edu.hm.hafner.analysis.Issue>- Overrides:
testin classFileNameFilter- Parameters:
issue- the issue to test- Returns:
trueif the file name of the issue is allowed,falseotherwise
-