JobReport

JobReport class encapsulates various methods of the job status reporting blah, blah, blah…

class DIRAC.WorkloadManagementSystem.Client.JobReport.JobReport(jobid, source='')

Bases: object

class JobReport
__init__(jobid, source='')

c’tor

commit()

Send all the accumulated information

dump()

Print out the contents of the internal cached information

generateForwardDISET()

Generate and return failover requests for the operations in the internal cache

sendStoredJobParameters()

Send the job parameters stored in the internal cache

sendStoredStatusInfo()

Send the job status information stored in the internal cache

setApplicationStatus(appStatus, sendFlag=True)

Send application status information to the JobState service for jobID

setJob(jobID)

Set the job ID for which to send reports

setJobParameter(par_name, par_value, sendFlag=True)

Send job parameter for jobID

setJobParameters(parameters, sendFlag=True)

Send job parameters for jobID

setJobStatus(status='', minor='', application='', sendFlag=True)

Send job status information to the JobState service for jobID