Class InvalidAndModifiedFilter
java.lang.Object
net.sf.basedb.util.extensions.manager.filter.InvalidAndModifiedFilter
- All Implemented Interfaces:
Filter<ExtensionsFile>
Filter implementation for extension files that
allow modified but invalid files to pass.
- Since:
- 3.0
- Author:
- Nicklas
- Last modified
- $Date: 2014-04-09 14:21:20 +0200 (on, 09 apr 2014) $
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
evaluate
(ExtensionsFile xtFile) Evaluate if the given object should pass the filter or not.
-
Field Details
-
log
private static final org.slf4j.Logger log
-
-
Constructor Details
-
InvalidAndModifiedFilter
public InvalidAndModifiedFilter()Create a new filter.
-
-
Method Details
-
evaluate
Description copied from interface:Filter
Evaluate if the given object should pass the filter or not.- Specified by:
evaluate
in interfaceFilter<ExtensionsFile>
- Parameters:
xtFile
- The object to evaluate- Returns:
- TRUE if the object passes the filter, FALSE otherwise
-