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)");
ClassImp(TAlienJob) TGridJobStatus *TAlienJob jobID
Queries the job for its status and returns a TGridJobStatus object.
Collectable string class.
virtual Bool_t Kill(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)...
virtual Bool_t Resubmit()
Resubmits a job.
const char * Data() const
std::map< std::string, std::string >::const_iterator iter
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual Bool_t Resubmit(TGridJob *gridjob)
virtual Bool_t Cancel()
Cancels a job e.g.
GAPI_JOBARRAY * gjobarray