Class JobsServiceImpl

    • Method Detail

      • add

        public JobsService.AddRequest add()
        Description copied from interface: JobsService
        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 ----
        Specified by:
        add in interface JobsService
      • list

        public JobsService.ListRequest list()
        Description copied from interface: JobsService
        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.
        Specified by:
        list in interface JobsService
      • service

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