Class JobServiceImpl

    • Method Detail

      • clear

        public JobService.ClearRequest clear()
        Description copied from interface: JobService
        Set an external job execution to be cleared by the system. For example, to set a job with identifier `123` send the following request: [source] ---- POST /ovirt-engine/api/jobs/clear ---- With the following request body: [source,xml] ---- ----
        Specified by:
        clear in interface JobService
      • end

        public JobService.EndRequest end()
        Description copied from interface: JobService
        Marks an external job execution as ended. For example, to terminate a job with identifier `123` send the following request: [source] ---- POST /ovirt-engine/api/jobs/end ---- With the following request body: [source,xml] ---- true finished ----
        Specified by:
        end in interface JobService
      • get

        public JobService.GetRequest get()
        Description copied from interface: JobService
        Retrieves a job. [source] ---- GET /ovirt-engine/api/jobs/123 ---- You will receive response in XML like this one: [source,xml] ---- Adding Disk true 2016-12-12T23:07:29.758+02:00 false 2016-12-12T23:07:29.758+02:00 2016-12-12T23:07:26.593+02:00 failed ----
        Specified by:
        get in interface JobService
      • stepsService

        public StepsService stepsService()
        Description copied from interface: JobService
        List all the steps of the job. The order of the returned list of steps isn't guaranteed.
        Specified by:
        stepsService in interface JobService
      • service

        public Service service​(String path)
        Description copied from interface: JobService
        Service locator method, returns individual service on which the URI is dispatched.
        Specified by:
        service in interface JobService