Package org.jclouds.gogrid.features
Interface GridJobApi
public interface GridJobApi
Manages the customer's jobs.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetJobList
(GetJobListOptions... options) Returns all jobs found.getJobsById
(long... ids) Returns jobs for the corresponding id(s).getJobsForObjectName
(String objectName) Returns jobs found for an object with a provided name.
-
Method Details
-
getJobList
Returns all jobs found. The resulting set may be narrowed down by providingGetJobListOptions
. 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
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
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
-