class documentation

class RapiJobPollCb(cli.JobPollCbBase):

View In Hierarchy

Undocumented

Method __init__ Initializes this class.
Method CancelJob Cancels a currently running job.
Method QueryJobs Returns the given fields for the selected job IDs.
Method WaitForJobChangeOnce Waits for changes on a job.
Instance Variable cl Undocumented
def __init__(self, cl):

Initializes this class.

Parameters
clRAPI client instance
def CancelJob(self, job_id):

Cancels a currently running job.

def QueryJobs(self, job_ids, fields):

Returns the given fields for the selected job IDs.

Parameters
job_ids:list of numbersJob IDs
fields:list of stringsFields
def WaitForJobChangeOnce(self, job_id, fields, prev_job_info, prev_log_serial, timeout=constants.DEFAULT_WFJC_TIMEOUT):

Waits for changes on a job.

cl =

Undocumented