public class DefaultImporterExecutor extends AbstractImporterExecutor
| Modifier and Type | Field and Description |
|---|---|
protected GenericMultiThreadedImporter |
importer |
protected String |
repositoryName |
executorMainThread, factory, lastRunner, threadPolicy, transactionTimeout| Constructor and Description |
|---|
DefaultImporterExecutor() |
DefaultImporterExecutor(String repositoryName) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCreatedDocsCounter() |
protected org.apache.commons.logging.Log |
getJavaLogger() |
String |
run(ImporterRunner runner,
Boolean interactive)
since 5.5 this method is invoked when using the
DefaultImporterService and passing the executor to
the importDocuments method |
String |
run(SourceNode source,
String targetPath,
Boolean skipRootContainerCreation,
Integer batchSize,
Integer nbTheards,
Boolean interactive) |
String |
run(String inputPath,
String targetPath,
Boolean skipRootContainerCreation,
Integer batchSize,
Integer nbTheards,
Boolean interactive) |
doRun, getFactory, getLogger, getStatus, getThreadPolicy, getTransactionTimeout, isRunning, kill, setFactory, setThreadPolicy, setTransactionTimeout, startTaskprotected GenericMultiThreadedImporter importer
protected String repositoryName
public DefaultImporterExecutor()
public DefaultImporterExecutor(String repositoryName)
protected org.apache.commons.logging.Log getJavaLogger()
getJavaLogger in class AbstractImporterExecutorpublic long getCreatedDocsCounter()
public String run(String inputPath, String targetPath, Boolean skipRootContainerCreation, Integer batchSize, Integer nbTheards, Boolean interactive)
public String run(SourceNode source, String targetPath, Boolean skipRootContainerCreation, Integer batchSize, Integer nbTheards, Boolean interactive)
public String run(ImporterRunner runner, Boolean interactive)
AbstractImporterExecutorDefaultImporterService and passing the executor to
the importDocuments methodrun in class AbstractImporterExecutorCopyright © 2015 Nuxeo SA. All rights reserved.