liquibase.servicelocator
Class CompositePackageScanFilter
java.lang.Object
liquibase.servicelocator.CompositePackageScanFilter
- All Implemented Interfaces:
- PackageScanFilter
public class CompositePackageScanFilter
- extends Object
- implements PackageScanFilter
CompositePackageScanFilter
allows multiple PackageScanFilter
s to be composed into a single
filter. For a Class
to match a CompositePackageScanFilter
it must match each of the filters the
composite contains
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositePackageScanFilter
public CompositePackageScanFilter()
CompositePackageScanFilter
public CompositePackageScanFilter(Set<PackageScanFilter> filters)
addFilter
public void addFilter(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.
Copyright © 2004-2011 Liquibase.org. All Rights Reserved.