Class JobSubmission

java.lang.Object
net.sf.basedb.opengrid.engine.JobSubmission

public class JobSubmission extends Object
Represents a job submission for sending a job to the cluster. The job submission consists of a command that should be exuected in order to add the job to queue and a list with one or more scripts files that should be uploaded to the work folder.
Since:
1.4
Author:
nicklas
  • Field Details

  • Constructor Details

    • JobSubmission

      public JobSubmission()
    • JobSubmission

      public JobSubmission(String cmd, List<UploadSource> scripts)
  • Method Details

    • getSubmitCmd

      public String getSubmitCmd()
      The command that should be executed in order to register the job with the cluster. The command must return a single value that is a unique identifier for the job (eg. the JOB_ID)
    • getJobScripts

      public List<UploadSource> getJobScripts()
      List of files that should be uploaded to the work folder that has been created for the job before the job is executed.