Interface JobsService

  • All Superinterfaces:
    Service
    All Known Implementing Classes:
    JobsServiceImpl

    public interface JobsService
    extends Service
    A service to manage jobs.
    • Method Detail

      • add

        JobsService.AddRequest add()
        Add an external job. For example, to add a job with the following request: [source] ---- POST /ovirt-engine/api/jobs ---- With the following request body: [source,xml] ---- Doing some work true ---- The response should look like: [source,xml] ---- Doing some work true true 2016-12-13T02:15:42.130+02:00 2016-12-13T02:15:42.130+02:00 started ----
      • list

        JobsService.ListRequest list()
        Retrieves the representation of the jobs. [source] ---- GET /ovirt-engine/api/jobs ---- 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 ... ---- The order of the returned list of jobs isn't guaranteed.
      • jobService

        JobService jobService​(String id)
        Reference to the job service.
      • service

        Service service​(String path)
        Service locator method, returns individual service on which the URI is dispatched.