org.apache.camel.impl.scan
Class InvertingPackageScanFilter
java.lang.Object
org.apache.camel.impl.scan.InvertingPackageScanFilter
- All Implemented Interfaces:
- PackageScanFilter
public class InvertingPackageScanFilter
- extends Object
- implements PackageScanFilter
Package scan filter for inverting the match result of a subfilter. If the
subfilter would match and return true this filter will invert that
match and return false.
InvertingPackageScanFilter
public InvertingPackageScanFilter(PackageScanFilter filter)
matches
public boolean matches(Class<?> type)
- Description copied from interface:
PackageScanFilter
- Does the given class match
- Specified by:
matches
in interface PackageScanFilter
- Parameters:
type
- the class
- Returns:
- true to include this class, false to skip it.
toString
public String toString()
- Overrides:
toString
in class Object
Apache CAMEL