Package org.alfresco.repo.bulkimport
Interface ImportFilter
-
- All Known Implementing Classes:
AndImportFilter,DirectoryImportFilter,FileImportFilter,FileNameRegexImportFilter,HiddenFileFilter,NonExistentContentFileImportFilter,NotImportFilter
public interface ImportFilterDefinition of a source filter - a class that filters out importable items idenfitied from the source directory from the import. Note that source filters can be "chained", in which case each source filter effectively has "veto" power - if any single filter requests that a given importable item be filtered, it will be filtered.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanshouldFilter(ImportableItem importableItem)Method that checks whether the given file or folder should be filtered.
-
-
-
Method Detail
-
shouldFilter
boolean shouldFilter(ImportableItem importableItem)
Method that checks whether the given file or folder should be filtered.- Parameters:
importableItem- The source importable item to check for filtering (will not be null).- Returns:
- True if the given importable item should be filtered, false otherwise.
-
-