Class DefaultImporterExecutor
- java.lang.Object
-
- org.nuxeo.ecm.platform.importer.executor.AbstractImporterExecutor
-
- org.nuxeo.ecm.platform.importer.executor.DefaultImporterExecutor
-
public class DefaultImporterExecutor extends AbstractImporterExecutor
Default importer- Author:
- Thierry Delprat
-
-
Field Summary
Fields Modifier and Type Field Description protected GenericMultiThreadedImporter
importer
protected String
repositoryName
-
Fields inherited from class org.nuxeo.ecm.platform.importer.executor.AbstractImporterExecutor
executorMainThread, factory, lastRunner, threadPolicy, transactionTimeout
-
-
Constructor Summary
Constructors Constructor Description DefaultImporterExecutor()
DefaultImporterExecutor(String repositoryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCreatedDocsCounter()
protected Log
getJavaLogger()
String
run(String inputPath, String targetPath, Boolean skipRootContainerCreation, Integer batchSize, Integer nbTheards, Boolean interactive)
String
run(ImporterRunner runner, Boolean interactive)
since 5.5 this method is invoked when using theDefaultImporterService
and passing the executor to the importDocuments methodString
run(SourceNode source, String targetPath, Boolean skipRootContainerCreation, Integer batchSize, Integer nbTheards, Boolean interactive)
-
Methods inherited from class org.nuxeo.ecm.platform.importer.executor.AbstractImporterExecutor
doRun, getFactory, getLogger, getStatus, getThreadPolicy, getTransactionTimeout, isRunning, kill, setFactory, setThreadPolicy, setTransactionTimeout, startTask
-
-
-
-
Field Detail
-
importer
protected GenericMultiThreadedImporter importer
-
repositoryName
protected String repositoryName
-
-
Constructor Detail
-
DefaultImporterExecutor
public DefaultImporterExecutor()
-
DefaultImporterExecutor
public DefaultImporterExecutor(String repositoryName)
-
-
Method Detail
-
getJavaLogger
protected Log getJavaLogger()
- Specified by:
getJavaLogger
in classAbstractImporterExecutor
-
getCreatedDocsCounter
public long getCreatedDocsCounter()
-
run
public String run(String inputPath, String targetPath, Boolean skipRootContainerCreation, Integer batchSize, Integer nbTheards, Boolean interactive)
-
run
public String run(SourceNode source, String targetPath, Boolean skipRootContainerCreation, Integer batchSize, Integer nbTheards, Boolean interactive)
-
run
public String run(ImporterRunner runner, Boolean interactive)
Description copied from class:AbstractImporterExecutor
since 5.5 this method is invoked when using theDefaultImporterService
and passing the executor to the importDocuments method- Overrides:
run
in classAbstractImporterExecutor
-
-