public class DirectoryAnalyserImpl extends Object implements DirectoryAnalyser
VERSION_SUFFIX_REGEX
Constructor and Description |
---|
DirectoryAnalyserImpl() |
DirectoryAnalyserImpl(MetadataLoader metadataLoader,
BulkImportStatusImpl importStatus,
List<ImportFilter> importFilters,
org.alfresco.repo.dictionary.constraint.NameChecker nameChecker) |
Modifier and Type | Method and Description |
---|---|
AnalysedDirectory |
analyseDirectory(ImportableItem directory,
DirectoryStream.Filter<Path> filter)
Analyses the given directory.
|
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setImportFilters(List<ImportFilter> importFilters) |
void |
setImportStatus(BulkImportStatusImpl status) |
void |
setMetadataLoader(MetadataLoader metadataLoader) |
void |
setNameChecker(org.alfresco.repo.dictionary.constraint.NameChecker nameChecker) |
protected boolean |
shouldFilter(ImportableItem importableItem) |
public DirectoryAnalyserImpl(MetadataLoader metadataLoader, BulkImportStatusImpl importStatus, List<ImportFilter> importFilters, org.alfresco.repo.dictionary.constraint.NameChecker nameChecker)
public DirectoryAnalyserImpl()
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
public void setNameChecker(org.alfresco.repo.dictionary.constraint.NameChecker nameChecker)
public void setMetadataLoader(MetadataLoader metadataLoader)
public void setImportStatus(BulkImportStatusImpl status)
public final void setImportFilters(List<ImportFilter> importFilters)
protected boolean shouldFilter(ImportableItem importableItem)
public AnalysedDirectory analyseDirectory(ImportableItem directory, DirectoryStream.Filter<Path> filter)
DirectoryAnalyser
analyseDirectory
in interface DirectoryAnalyser
directory
- The directory to analyse (note: must be a directory) (must not be null).AnalysedDirectory
object (will not be null).DirectoryAnalyser.analyseDirectory(org.alfresco.repo.bulkimport.ImportableItem, java.nio.file.DirectoryStream.Filter)
Copyright © 2005–2017 Alfresco Software. All rights reserved.