- Timestamp:
- 10/31/12 13:52:06 (12 years ago)
- Location:
- DCWoRMS/trunk/build/classes/schedframe/scheduling/plan/impl
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/build/classes/schedframe/scheduling/plan/impl/ScheduledTask.java
r477 r539 6 6 import org.exolab.castor.xml.MarshalException; 7 7 import org.exolab.castor.xml.ValidationException; 8 import org.qcg.broker.schemas.schedulingplan.types.AllocationStatus; 8 9 9 10 import schedframe.scheduling.plan.AllocationInterface; 10 11 import schedframe.scheduling.plan.ScheduledTaskInterface; 11 12 import schedframe.scheduling.plan.ScheduledTimeInterface; 12 import schedframe.scheduling.tasks.WorkloadUnit; 13 14 15 import org.qcg.broker.schemas.schedulingplan.types.AllocationStatus; 13 import schedframe.scheduling.tasks.TaskInterface; 16 14 17 15 public class ScheduledTask implements ScheduledTaskInterface<org.qcg.broker.schemas.schedulingplan.Task> { … … 22 20 public ScheduledTask(){ 23 21 t = new org.qcg.broker.schemas.schedulingplan.Task(); 24 allocationList = new ArrayList<AllocationInterface >();22 allocationList = new ArrayList<AllocationInterface<?>>(); 25 23 } 26 24 27 25 public ScheduledTask(org.qcg.broker.schemas.schedulingplan.Task value){ 28 26 t = value; 29 allocationList = new ArrayList<AllocationInterface >();27 allocationList = new ArrayList<AllocationInterface<?>>(); 30 28 } 31 29 … … 178 176 179 177 180 protected WorkloadUnit<?> task;181 protected ArrayList<AllocationInterface > allocationList;178 protected TaskInterface<?> task; 179 protected ArrayList<AllocationInterface<?>> allocationList; 182 180 183 public ScheduledTask( WorkloadUnit<?> task){181 public ScheduledTask(TaskInterface<?> task){ 184 182 this(); 185 183 this.task = task; 186 184 } 187 185 188 public ArrayList<AllocationInterface > getAllocations() {186 public ArrayList<AllocationInterface<?>> getAllocations() { 189 187 return this.allocationList; 190 188 } 191 189 192 public WorkloadUnit<?> getTask(){190 public TaskInterface<?> getTask(){ 193 191 return this.task; 194 192 } -
DCWoRMS/trunk/build/classes/schedframe/scheduling/plan/impl/SchedulingPlan.java
r477 r539 18 18 public SchedulingPlan(){ 19 19 sp = new org.qcg.broker.schemas.schedulingplan.SchedulingPlan(); 20 taskList = new ArrayList<ScheduledTaskInterface >();20 taskList = new ArrayList<ScheduledTaskInterface<?>>(); 21 21 } 22 22 23 23 public SchedulingPlan(org.qcg.broker.schemas.schedulingplan.SchedulingPlan value){ 24 24 sp = value; 25 taskList = new ArrayList<ScheduledTaskInterface >();25 taskList = new ArrayList<ScheduledTaskInterface<?>>(); 26 26 } 27 27 … … 106 106 107 107 108 protected ArrayList<ScheduledTaskInterface > taskList;108 protected ArrayList<ScheduledTaskInterface<?>> taskList; 109 109 110 public ArrayList<ScheduledTaskInterface > getTasks() {110 public ArrayList<ScheduledTaskInterface<?>> getTasks() { 111 111 112 112 return this.taskList;
Note: See TracChangeset
for help on using the changeset viewer.