Package org.alfresco.repo.bulkimport
Interface FilesystemTracker
- All Known Implementing Classes:
AbstractFilesystemTracker,StripingFilesystemTracker
public interface FilesystemTracker
A filesystem walker walks a filesystem, returning directories and files as it goes.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionintcount()An estimate of the number of directories and files in the filesystem.voiditemImported(NodeRef nodeRef, ImportableItem importableItem) A callback to indicate that the item has been imported into the repository.
-
Method Details
-
count
int count()An estimate of the number of directories and files in the filesystem.- Returns:
- int
-
itemImported
A callback to indicate that the item has been imported into the repository.- Parameters:
nodeRef- NodeRefimportableItem- ImportableItem
-
getWorkProvider
BatchProcessWorkProvider<ImportableItem> getWorkProvider()
-