public abstract class AbstractImporterExecutor extends Object
Constructor and Description |
---|
AbstractImporterExecutor() |
Modifier and Type | Method and Description |
---|---|
ImporterDocumentModelFactory |
getFactory() |
ImporterLogger |
getLogger() |
String |
getStatus() |
ImporterThreadingPolicy |
getThreadPolicy() |
int |
getTransactionTimeout() |
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) |
void |
setTransactionTimeout(int transactionTimeout) |
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 int getTransactionTimeout()
public void setTransactionTimeout(int transactionTimeout)
public String run(ImporterRunner runner, Boolean interactive)
DefaultImporterService
and passing the executor to
the importDocuments methodrunner
- interactive
- Exception
Copyright © 2015 Nuxeo SA. All rights reserved.