Package org.xwiki.rest
Class XWikiJobResource
- java.lang.Object
-
- org.xwiki.rest.XWikiResource
-
- org.xwiki.rest.XWikiJobResource
-
- All Implemented Interfaces:
org.xwiki.component.phase.Initializable
,XWikiRestComponent
public class XWikiJobResource extends XWikiResource
Base class for all job-related resources.- Version:
- $Id: 1f11a44b5f42fd7e7c7fd0ef891d32a3524c7464 $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.xwiki.rest.XWikiResource
XWikiResource.DocumentInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected org.xwiki.job.JobExecutor
jobExecutor
Used to retrieve the job that is currently being executed.protected org.xwiki.job.JobStatusStore
jobStore
Used to retrieve the job status.-
Fields inherited from class org.xwiki.rest.XWikiResource
componentManager, objectFactory, queryManager, slf4Jlogger, uriInfo, xcontextProvider
-
-
Constructor Summary
Constructors Constructor Description XWikiJobResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.xwiki.job.event.status.JobStatus
getRealJobStatus(String jobId)
-
Methods inherited from class org.xwiki.rest.XWikiResource
getDocumentInfo, getDocumentInfo, getLogger, getSpaceReference, getUriTemplate, getXWikiContext, initialize, parseSpaceSegments
-
-
-
-
Method Detail
-
getRealJobStatus
protected org.xwiki.job.event.status.JobStatus getRealJobStatus(String jobId) throws javax.ws.rs.WebApplicationException
- Throws:
javax.ws.rs.WebApplicationException
-
-