public abstract class AbstractImporterExecutor extends Object
Constructor and Description |
---|
AbstractImporterExecutor() |
Modifier and Type | Method and Description |
---|---|
ImporterDocumentModelFactory |
getFactory() |
ImporterLogger |
getLogger() |
String |
getStatus() |
ImporterThreadingPolicy |
getThreadPolicy() |
Boolean |
isRunning() |
String |
kill() |
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 |
void |
setFactory(ImporterDocumentModelFactory factory) |
void |
setThreadPolicy(ImporterThreadingPolicy threadPolicy) |
public ImporterLogger getLogger()
public String getStatus()
public Boolean isRunning()
public String kill()
public ImporterThreadingPolicy getThreadPolicy()
public void setThreadPolicy(ImporterThreadingPolicy threadPolicy)
public ImporterDocumentModelFactory getFactory()
public void setFactory(ImporterDocumentModelFactory factory)
public String run(ImporterRunner runner, Boolean interactive) throws Exception
DefaultImporterService
and passing the executor to the
importDocuments methodrunner
- interactive
- Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.