Package net.sf.basedb.opengrid.engine
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 Summary
Fields Modifier and Type Field Description private List<UploadSource>
scripts
private String
submitCmd
-
Constructor Summary
Constructors Constructor Description JobSubmission()
JobSubmission(String cmd, List<UploadSource> scripts)
-
Method Summary
Modifier and Type Method Description 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.String
getSubmitCmd()
The command that should be executed in order to register the job with the cluster.
-
Field Details
-
submitCmd
-
scripts
-
-
Constructor Details
-
JobSubmission
public JobSubmission() -
JobSubmission
-
-
Method Details
-
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
List of files that should be uploaded to the work folder that has been created for the job before the job is executed.
-