Class 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 $
    • Field Detail

      • jobExecutor

        @Inject
        protected org.xwiki.job.JobExecutor jobExecutor
        Used to retrieve the job that is currently being executed.
      • jobStore

        @Inject
        protected org.xwiki.job.JobStatusStore jobStore
        Used to retrieve the job status.
    • Constructor Detail

      • XWikiJobResource

        public XWikiJobResource()
    • Method Detail

      • getRealJobStatus

        protected org.xwiki.job.event.status.JobStatus getRealJobStatus​(String jobId)
                                                                 throws javax.ws.rs.WebApplicationException
        Throws:
        javax.ws.rs.WebApplicationException