Package org.jclouds.gogrid.features
Interface GridJobApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Job>
getJobList(GetJobListOptions... options)
Returns all jobs found.Set<Job>
getJobsById(long... ids)
Returns jobs for the corresponding id(s).Set<Job>
getJobsForObjectName(String objectName)
Returns jobs found for an object with a provided name.
-
-
-
Method Detail
-
getJobList
@GET @Path("/grid/job/list") Set<Job> getJobList(GetJobListOptions... options)
Returns all jobs found. The resulting set may be narrowed down by providingGetJobListOptions
. By default, the result is <=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
-
-