public class GenericThreadedImportTask extends Object implements Runnable
Constructor and Description |
---|
GenericThreadedImportTask(CoreSession session,
SourceNode rootSource,
DocumentModel rootDoc,
boolean skipContainerCreation,
ImporterLogger rsLogger,
int batchSize,
ImporterDocumentModelFactory factory,
ImporterThreadingPolicy threadPolicy) |
GenericThreadedImportTask(CoreSession session,
SourceNode rootSource,
DocumentModel rootDoc,
boolean skipContainerCreation,
ImporterLogger rsLogger,
int batchSize,
ImporterDocumentModelFactory factory,
ImporterThreadingPolicy threadPolicy,
String jobName) |
Modifier and Type | Method and Description |
---|---|
void |
addImportingDocumentFilters(Collection<ImportingDocumentFilter> importingDocumentFilters) |
void |
addImportingDocumentFilters(ImportingDocumentFilter... importingDocumentFilters) |
void |
addListeners(Collection<ImporterListener> listeners) |
void |
addListeners(ImporterListener... listeners) |
void |
dispose() |
int |
getBatchSize() |
boolean |
isRunning() |
void |
run() |
void |
setBatchSize(int batchSize) |
void |
setInputSource(SourceNode node) |
void |
setRootTask() |
void |
setSkipContainerCreation(Boolean skipContainerCreation) |
void |
setTargetFolder(DocumentModel rootDoc) |
public GenericThreadedImportTask(CoreSession session, SourceNode rootSource, DocumentModel rootDoc, boolean skipContainerCreation, ImporterLogger rsLogger, int batchSize, ImporterDocumentModelFactory factory, ImporterThreadingPolicy threadPolicy) throws Exception
Exception
public GenericThreadedImportTask(CoreSession session, SourceNode rootSource, DocumentModel rootDoc, boolean skipContainerCreation, ImporterLogger rsLogger, int batchSize, ImporterDocumentModelFactory factory, ImporterThreadingPolicy threadPolicy, String jobName) throws Exception
Exception
public void setInputSource(SourceNode node)
public void setTargetFolder(DocumentModel rootDoc)
public boolean isRunning()
public void dispose()
public int getBatchSize()
public void setBatchSize(int batchSize)
public void setSkipContainerCreation(Boolean skipContainerCreation)
public void setRootTask()
public void addImportingDocumentFilters(ImportingDocumentFilter... importingDocumentFilters)
public void addImportingDocumentFilters(Collection<ImportingDocumentFilter> importingDocumentFilters)
public void addListeners(ImporterListener... listeners)
public void addListeners(Collection<ImporterListener> listeners)
Copyright © 2013 Nuxeo SA. All Rights Reserved.