3.2.1: 2012-12-13

net.sf.basedb.util.extensions.manager.filter
Class InvalidAndModifiedFilter

java.lang.Object
  extended by net.sf.basedb.util.extensions.manager.filter.InvalidAndModifiedFilter
All Implemented Interfaces:
Filter<ExtensionsFile>

public class InvalidAndModifiedFilter
extends Object
implements Filter<ExtensionsFile>

Filter implementation for extension files that allow modified but invalid files to pass.

Since:
3.0
Author:
Nicklas
Last modified
$Date: 2011-04-15 09:52:28 +0200 (Fri, 15 Apr 2011) $

Field Summary
private static org.apache.log4j.Logger log
           
 
Constructor Summary
InvalidAndModifiedFilter()
          Create a new filter.
 
Method Summary
 boolean evaluate(ExtensionsFile xtFile)
          Evaluate if the given object should pass the filter or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.log4j.Logger log
Constructor Detail

InvalidAndModifiedFilter

public InvalidAndModifiedFilter()
Create a new filter.

Method Detail

evaluate

public boolean evaluate(ExtensionsFile xtFile)
Description copied from interface: Filter
Evaluate if the given object should pass the filter or not.

Specified by:
evaluate in interface Filter<ExtensionsFile>
Parameters:
xtFile - The object to evaluate
Returns:
TRUE if the object passes the filter, FALSE otherwise

3.2.1: 2012-12-13