- Timestamp:
- 10/31/12 13:52:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/build/classes/example/globalplugin/BaseGlobalPlugin.java
r477 r539 4 4 import schedframe.PluginConfiguration; 5 5 import schedframe.events.scheduling.SchedulingEventType; 6 import schedframe.scheduling. WorkloadUnitListImpl;6 import schedframe.scheduling.TaskList; 7 7 import schedframe.scheduling.manager.resources.ResourceManager; 8 8 import schedframe.scheduling.plugin.SchedulingPluginConfiguration; … … 11 11 import schedframe.scheduling.queue.TaskQueue; 12 12 import schedframe.scheduling.queue.TaskQueueList; 13 import schedframe.scheduling.tasks. WorkloadUnit;13 import schedframe.scheduling.tasks.TaskInterface; 14 14 import schemas.StringValueWithUnit; 15 15 … … 22 22 } 23 23 24 public int place JobsInQueues(WorkloadUnitListImpl newJobs, TaskQueueList queues, ResourceManager resourceManager,24 public int placeTasksInQueues(TaskList newTasks, TaskQueueList queues, ResourceManager resourceManager, 25 25 ModuleList moduleList) { 26 26 … … 28 28 TaskQueue queue = queues.get(0); 29 29 30 for (int i = 0; i < new Jobs.size(); i++) {31 WorkloadUnit<?> task = newJobs.get(i);30 for (int i = 0; i < newTasks.size(); i++) { 31 TaskInterface<?> task = newTasks.get(i); 32 32 queue.add(task); 33 33 } … … 46 46 } 47 47 48 public String getName() { 49 return getClass().getName(); 50 } 48 51 49 52 }
Note: See TracChangeset
for help on using the changeset viewer.