org.gridlab.gat.resources
Class OrderedCoScheduleJobDescription
java.lang.Object
org.gridlab.gat.resources.AbstractJobDescription
org.gridlab.gat.resources.CoScheduleJobDescription
org.gridlab.gat.resources.OrderedCoScheduleJobDescription
- All Implemented Interfaces:
- Serializable
public class OrderedCoScheduleJobDescription
- extends CoScheduleJobDescription
- Author:
- Jerome Revillard
- See Also:
- Serialized Form
OrderedCoScheduleJobDescription
public OrderedCoScheduleJobDescription()
OrderedCoScheduleJobDescription
public OrderedCoScheduleJobDescription(JobDescription[] jobDescriptions)
addLink
public void addLink(JobDescription firstjob,
JobDescription nextjob)
throws IllegalArgumentException
- Add a link between 2
Job
s represented by there JobDescription
.
The link means that the job represented by the description 1 must be finished before
executing the job represented by the description 2.
- Parameters:
firstjob
- the description of the job that has to be completed before the other onenextjob
- the description of the job that will be started once the previous job will be completed
- Throws:
IllegalArgumentException
getLinks
public HashSet<OrderedCoScheduleJobDescription.JobLink> getLinks()