@Service public class JobsApiServiceImpl extends BaseSpringApiServiceImpl implements JobsApiDelegate
BaseSpringApiServiceImpl.MapMessageListener| Modifier and Type | Field and Description |
|---|---|
static String |
AU_HAS_QUEUED_OR_ACTIVE_CRAWL |
DEFAULT_CONFIG_WAIT_TIME, DEFAULT_READY_WAIT_TIME, JMS_BOTH, JMS_RECEIVE, JMS_SEND, jmsConsumer, jmsProducer, PARAM_CONFIG_WAIT_TIME, PARAM_READY_WAIT_TIME| Constructor and Description |
|---|
JobsApiServiceImpl(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Void> |
deleteJobs()
Deletes all the currently queued and active crawl requests.
|
org.springframework.http.ResponseEntity<JobPager> |
getJobs(Integer limit,
String continuationToken)
Get all crawl jobs
|
org.springframework.http.ResponseEntity<org.lockss.util.rest.crawler.CrawlJob> |
queueJob(org.lockss.util.rest.crawler.CrawlDesc crawlDesc)
Requests a crawl.
|
configMgrCreated, getClassName, getConfigWaitTime, getJMSManager, getPluginManager, getReadyWaitTime, getRunningLockssDaemon, getStateManager, getWaitTime, jmsSetUpDone, jsonResponse, receiveMessage, registerConfigCallback, setUpJms, setUpJms, setUpJms, stopJms, stringResponse, waitConfig, waitConfig, waitReady, waitReadyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAcceptHeader, getObjectMapper, getRequestpublic static final String AU_HAS_QUEUED_OR_ACTIVE_CRAWL
@Autowired public JobsApiServiceImpl(javax.servlet.http.HttpServletRequest request)
public org.springframework.http.ResponseEntity<JobPager> getJobs(Integer limit, String continuationToken)
getJobs in interface JobsApiDelegateJobsApi.getJobs(java.lang.Integer, java.lang.String)public org.springframework.http.ResponseEntity<Void> deleteJobs()
deleteJobs in interface JobsApiDelegateResponseEntity<Void>.JobsApi.deleteJobs()public org.springframework.http.ResponseEntity<org.lockss.util.rest.crawler.CrawlJob> queueJob(org.lockss.util.rest.crawler.CrawlDesc crawlDesc)
queueJob in interface JobsApiDelegatecrawlDesc - A CrawlDesc with the information about the requested crawl.ResponseEntity<CrawlJob> with the information about the job created to
perform the crawl.JobsApi.queueJob(org.lockss.util.rest.crawler.CrawlDesc)Copyright © 2000–2023 LOCKSS Program. All rights reserved.