Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Attributes
nordugrid.arc.JobController Class Reference

List of all members.

Public Member Functions

synchronized void delete ()
void FillJobStore (URLList jobids)
void FillJobStore (Job job)
boolean Get (StringList status, String downloaddir, boolean keep)
boolean Kill (StringList status, boolean keep)
boolean Clean (StringList status, boolean force)
boolean Cat (StringList status, String whichfile)
boolean PrintJobStatus (StringList status, boolean longlist)
boolean Migrate (TargetGenerator targetGen, Broker broker, UserConfig usercfg, boolean forcemigration, URLList migratedJobIDs)
boolean Renew (StringList status)
boolean Resume (StringList status)
boolean RemoveJobs (URLList jobids)
StringList GetDownloadFiles (URL dir)
boolean ARCCopyFile (URL src, URL dst)
JobList GetJobDescriptions (StringList status, boolean getlocal)
void CheckLocalDescription (JobList jobs)
JobList GetJobs ()
void GetJobInformation ()
boolean GetJob (Job job, String downloaddir)
boolean CleanJob (Job job, boolean force)
boolean CancelJob (Job job)
boolean RenewJob (Job job)
boolean ResumeJob (Job job)
URL GetFileUrlForJob (Job job, String whichfile)
boolean GetJobDescription (Job job, SWIGTYPE_p_std__string desc_str)

Protected Member Functions

 JobController (long cPtr, boolean cMemoryOwn)
void finalize ()

Static Protected Member Functions

static long getCPtr (JobController obj)

Protected Attributes

boolean swigCMemOwn

Private Attributes

long swigCPtr

Detailed Description

Definition at line 11 of file JobController.java.


Constructor & Destructor Documentation

nordugrid.arc.JobController.JobController ( long  cPtr,
boolean  cMemoryOwn 
) [inline, protected]

Definition at line 15 of file JobController.java.

                                                         {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

Member Function Documentation

boolean nordugrid.arc.JobController.ARCCopyFile ( URL  src,
URL  dst 
) [inline]

Definition at line 84 of file JobController.java.

                                               {
    return arcJNI.JobController_ARCCopyFile(swigCPtr, this, URL.getCPtr(src), src, URL.getCPtr(dst), dst);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.CancelJob ( Job  job) [inline]

Definition at line 112 of file JobController.java.

                                    {
    return arcJNI.JobController_CancelJob(swigCPtr, this, Job.getCPtr(job), job);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.Cat ( StringList  status,
String  whichfile 
) [inline]

Definition at line 56 of file JobController.java.

                                                          {
    return arcJNI.JobController_Cat(swigCPtr, this, StringList.getCPtr(status), status, whichfile);
  }

Here is the call graph for this function:

Definition at line 92 of file JobController.java.

                                                  {
    arcJNI.JobController_CheckLocalDescription(swigCPtr, this, JobList.getCPtr(jobs), jobs);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.Clean ( StringList  status,
boolean  force 
) [inline]

Definition at line 52 of file JobController.java.

                                                         {
    return arcJNI.JobController_Clean(swigCPtr, this, StringList.getCPtr(status), status, force);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.CleanJob ( Job  job,
boolean  force 
) [inline]

Definition at line 108 of file JobController.java.

                                                  {
    return arcJNI.JobController_CleanJob(swigCPtr, this, Job.getCPtr(job), job, force);
  }

Here is the call graph for this function:

synchronized void nordugrid.arc.JobController.delete ( ) [inline]

Definition at line 28 of file JobController.java.

                                    {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      arcJNI.delete_JobController(swigCPtr);
    }
    swigCPtr = 0;
  }

Here is the call graph for this function:

Definition at line 36 of file JobController.java.

                                           {
    arcJNI.JobController_FillJobStore__SWIG_0(swigCPtr, this, URLList.getCPtr(jobids), jobids);
  }

Here is the call graph for this function:

Definition at line 40 of file JobController.java.

                                    {
    arcJNI.JobController_FillJobStore__SWIG_1(swigCPtr, this, Job.getCPtr(job), job);
  }

Here is the call graph for this function:

void nordugrid.arc.JobController.finalize ( ) [inline, protected]

Definition at line 24 of file JobController.java.

                            {
    delete();
  }
boolean nordugrid.arc.JobController.Get ( StringList  status,
String  downloaddir,
boolean  keep 
) [inline]

Definition at line 44 of file JobController.java.

                                                                          {
    return arcJNI.JobController_Get(swigCPtr, this, StringList.getCPtr(status), status, downloaddir, keep);
  }

Here is the call graph for this function:

static long nordugrid.arc.JobController.getCPtr ( JobController  obj) [inline, static, protected]

Definition at line 20 of file JobController.java.

                                                   {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

Here is the caller graph for this function:

Definition at line 80 of file JobController.java.

                                              {
    return new StringList(arcJNI.JobController_GetDownloadFiles(swigCPtr, this, URL.getCPtr(dir), dir), true);
  }

Here is the call graph for this function:

URL nordugrid.arc.JobController.GetFileUrlForJob ( Job  job,
String  whichfile 
) [inline]

Definition at line 124 of file JobController.java.

                                                         {
    return new URL(arcJNI.JobController_GetFileUrlForJob(swigCPtr, this, Job.getCPtr(job), job, whichfile), true);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.GetJob ( Job  job,
String  downloaddir 
) [inline]

Definition at line 104 of file JobController.java.

                                                     {
    return arcJNI.JobController_GetJob(swigCPtr, this, Job.getCPtr(job), job, downloaddir);
  }

Here is the call graph for this function:

Definition at line 128 of file JobController.java.

                                                                             {
    return arcJNI.JobController_GetJobDescription(swigCPtr, this, Job.getCPtr(job), job, SWIGTYPE_p_std__string.getCPtr(desc_str));
  }

Here is the call graph for this function:

JobList nordugrid.arc.JobController.GetJobDescriptions ( StringList  status,
boolean  getlocal 
) [inline]

Definition at line 88 of file JobController.java.

                                                                         {
    return new JobList(arcJNI.JobController_GetJobDescriptions(swigCPtr, this, StringList.getCPtr(status), status, getlocal), true);
  }

Here is the call graph for this function:

Definition at line 100 of file JobController.java.

                                  {
    arcJNI.JobController_GetJobInformation(swigCPtr, this);
  }

Here is the call graph for this function:

Definition at line 96 of file JobController.java.

                           {
    return new JobList(arcJNI.JobController_GetJobs(swigCPtr, this), false);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.Kill ( StringList  status,
boolean  keep 
) [inline]

Definition at line 48 of file JobController.java.

                                                       {
    return arcJNI.JobController_Kill(swigCPtr, this, StringList.getCPtr(status), status, keep);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.Migrate ( TargetGenerator  targetGen,
Broker  broker,
UserConfig  usercfg,
boolean  forcemigration,
URLList  migratedJobIDs 
) [inline]

Definition at line 64 of file JobController.java.

                                                                                                                                       {
    return arcJNI.JobController_Migrate(swigCPtr, this, TargetGenerator.getCPtr(targetGen), targetGen, Broker.getCPtr(broker), broker, UserConfig.getCPtr(usercfg), usercfg, forcemigration, URLList.getCPtr(migratedJobIDs), migratedJobIDs);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.PrintJobStatus ( StringList  status,
boolean  longlist 
) [inline]

Definition at line 60 of file JobController.java.

                                                                     {
    return arcJNI.JobController_PrintJobStatus(swigCPtr, this, StringList.getCPtr(status), status, longlist);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.RemoveJobs ( URLList  jobids) [inline]

Definition at line 76 of file JobController.java.

                                            {
    return arcJNI.JobController_RemoveJobs(swigCPtr, this, URLList.getCPtr(jobids), jobids);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.Renew ( StringList  status) [inline]

Definition at line 68 of file JobController.java.

                                          {
    return arcJNI.JobController_Renew(swigCPtr, this, StringList.getCPtr(status), status);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.RenewJob ( Job  job) [inline]

Definition at line 116 of file JobController.java.

                                   {
    return arcJNI.JobController_RenewJob(swigCPtr, this, Job.getCPtr(job), job);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.Resume ( StringList  status) [inline]

Definition at line 72 of file JobController.java.

                                           {
    return arcJNI.JobController_Resume(swigCPtr, this, StringList.getCPtr(status), status);
  }

Here is the call graph for this function:

boolean nordugrid.arc.JobController.ResumeJob ( Job  job) [inline]

Definition at line 120 of file JobController.java.

                                    {
    return arcJNI.JobController_ResumeJob(swigCPtr, this, Job.getCPtr(job), job);
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 13 of file JobController.java.

Definition at line 12 of file JobController.java.


The documentation for this class was generated from the following file: