26#include "gapi_job_operations.h"
40 GAPI_JOBARRAY *gjobarray = gapi_queryjobs(
"-",
"%",
"-",
"-",
"-",
"-",
41 jobID.
Data(),
"-",
"-");
46 if (gjobarray->size() == 0) {
53 GAPI_JOB gjob = gjobarray->at(0);
54 std::map<std::string, std::string>::const_iterator iter = gjob.gapi_jobmap.begin();
55 for (; iter != gjob.gapi_jobmap.end(); ++iter) {
73 Error(
"Cancel",
"No GRID connection (gGrid=0)");
86 Error(
"Cancel",
"No GRID connection (gGrid=0)");
virtual TGridJobStatus * GetJobStatus() const
Queries the job for its status and returns a TGridJobStatus object.
virtual Bool_t Cancel()
Cancels a job e.g.
virtual Bool_t Resubmit()
Resubmits a job.
virtual Bool_t Kill(TGridJob *gridjob)
virtual Bool_t Resubmit(TGridJob *gridjob)
void Add(TObject *obj)
This function may not be used (but we need to provide it since it is a pure virtual in TCollection).
Collectable string class.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
const char * Data() const