liquibase.servicelocator
Class CompositePackageScanFilter

java.lang.Object
  extended by liquibase.servicelocator.CompositePackageScanFilter
All Implemented Interfaces:
PackageScanFilter

public class CompositePackageScanFilter
extends Object
implements PackageScanFilter

CompositePackageScanFilter allows multiple PackageScanFilters to be composed into a single filter. For a Class to match a CompositePackageScanFilter it must match each of the filters the composite contains


Constructor Summary
CompositePackageScanFilter()
           
CompositePackageScanFilter(Set<PackageScanFilter> filters)
           
 
Method Summary
 void addFilter(PackageScanFilter filter)
           
 boolean matches(Class<?> type)
          Does the given class match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositePackageScanFilter

public CompositePackageScanFilter()

CompositePackageScanFilter

public CompositePackageScanFilter(Set<PackageScanFilter> filters)
Method Detail

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.