Class AbstractJaxRSImporterExecutor
- java.lang.Object
-
- org.nuxeo.ecm.platform.importer.executor.AbstractImporterExecutor
-
- org.nuxeo.ecm.platform.importer.executor.jaxrs.AbstractJaxRSImporterExecutor
-
- Direct Known Subclasses:
HttpFileImporterExecutor
,RandomImporterExecutor
public abstract class AbstractJaxRSImporterExecutor extends AbstractImporterExecutor
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.platform.importer.executor.AbstractImporterExecutor
executorMainThread, factory, lastRunner, log, threadPolicy, transactionTimeout
-
-
Constructor Summary
Constructors Constructor Description AbstractJaxRSImporterExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
disableLogging()
String
enableLogging()
String
getLogAsString()
ImporterLogger
getLogger()
String
getStatus()
String
index()
String
kill()
String
running()
javax.ws.rs.core.Response
waitForAsyncJobs(Integer timeoutInSeconds)
-
Methods inherited from class org.nuxeo.ecm.platform.importer.executor.AbstractImporterExecutor
doRun, getFactory, getJavaLogger, getThreadPolicy, getTransactionTimeout, isRunning, run, setFactory, setThreadPolicy, setTransactionTimeout, startTask
-
-
-
-
Method Detail
-
getLogger
public ImporterLogger getLogger()
- Overrides:
getLogger
in classAbstractImporterExecutor
-
index
public String index() throws IOException
- Throws:
IOException
-
getLogAsString
public String getLogAsString()
-
enableLogging
public String enableLogging()
-
disableLogging
public String disableLogging()
-
getStatus
public String getStatus()
- Overrides:
getStatus
in classAbstractImporterExecutor
-
running
public String running()
-
kill
public String kill()
- Overrides:
kill
in classAbstractImporterExecutor
-
waitForAsyncJobs
public javax.ws.rs.core.Response waitForAsyncJobs(Integer timeoutInSeconds)
-
-