public class AndImportFilter extends Object implements ImportFilter
ImportFilter
that only returns true if all of the configured ImportFilter
s return true.Constructor and Description |
---|
AndImportFilter(ImportFilter left,
ImportFilter right) |
AndImportFilter(List<ImportFilter> filters) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldFilter(ImportableItem importableItem)
Method that checks whether the given file or folder should be filtered.
|
public AndImportFilter(ImportFilter left, ImportFilter right)
public AndImportFilter(List<ImportFilter> filters)
public boolean shouldFilter(ImportableItem importableItem)
ImportFilter
shouldFilter
in interface ImportFilter
importableItem
- The source importable item to check for filtering (will not be null).ImportFilter.shouldFilter(org.alfresco.repo.bulkimport.ImportableItem)
Copyright © 2005–2017 Alfresco Software. All rights reserved.