Interface GridJobApi


public interface GridJobApi
Manages the customer's jobs.
See Also:
  • Method Details

    • getJobList

      @GET @Path("/grid/job/list") Set<Job> getJobList(GetJobListOptions... options)
      Returns all jobs found. The resulting set may be narrowed down by providing GetJobListOptions. By default, the result is invalid input: '<'=100 items from the date range of 4 weeks ago to now. NOTE: this method results in a big volume of data in response
      Returns:
      jobs found by request
    • getJobsForObjectName

      @GET @Path("/grid/job/list") Set<Job> getJobsForObjectName(String objectName)
      Returns jobs found for an object with a provided name. Usually, in GoGrid a name will uniquely identify the object, or, as the docs state, some API methods will cause errors.
      Parameters:
      objectName - name of the object
      Returns:
      found jobs for the object
    • getJobsById

      @GET @Path("/grid/job/get") Set<Job> getJobsById(long... ids)
      Returns jobs for the corresponding id(s). NOTE: there is a 1:1 relation between a job and its ID.
      Parameters:
      ids - ids for the jobs
      Returns:
      jobs found by the ids