org.gridlab.gat.resources
Interface WrapperJob

All Superinterfaces:
Advertisable, Job, Monitorable, Serializable

public interface WrapperJob
extends Job

An instance of this class represents a wrapper job. A wrapper job will be returned by a submitJob invocation with a WrapperJobDescription. The WrapperJob is a Job itself and has one or more Jobs which were submitted by this. A single Job out of this collection can be retrieved using the getJob(JobDescription) method.

Author:
rkemp

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.gridlab.gat.resources.Job
Job.JobState
 
Field Summary
 
Fields inherited from interface org.gridlab.gat.resources.Job
ADAPTOR_JOB_ID, HOSTNAME, POSTSTAGE_EXCEPTION, STARTTIME, STATE, STOPTIME, SUBMISSIONTIME
 
Method Summary
 Job getJob(JobDescription description)
          Returns a Job corresponding to the JobDescription.
 
Methods inherited from interface org.gridlab.gat.resources.Job
checkpoint, cloneJob, getExitStatus, getInfo, getJobDescription, getJobID, getState, getStderr, getStdin, getStdout, hold, migrate, migrate, resume, stop, toString, unSchedule
 
Methods inherited from interface org.gridlab.gat.monitoring.Monitorable
addMetricListener, getMeasurement, getMetricDefinitionByName, getMetricDefinitions, removeMetricListener
 
Methods inherited from interface org.gridlab.gat.advert.Advertisable
marshal
 

Method Detail

getJob

Job getJob(JobDescription description)
           throws GATInvocationException
Returns a Job corresponding to the JobDescription.

Parameters:
description - the description of the job
Returns:
a Job corresponding to the JobDescription, or null if no Job corresponds to the JobDescription
Throws:
GATInvocationException