Changeset 129 for xssim/trunk/src/example/localplugin/BaseLocalPlugin.java
- Timestamp:
- 03/15/12 11:14:52 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xssim/trunk/src/example/localplugin/BaseLocalPlugin.java
r104 r129 89 89 } 90 90 91 public void addToSchedulingPlan(SchedulingPlanNew plan, TaskInterface<?> task){ 92 93 AllocationNew allocation = new AllocationNew(); 94 allocation.setProcessesCount(1); 95 allocation.setProviderName(null); 96 97 ScheduledTaskNew scheduledTask = new ScheduledTaskNew(task); 98 scheduledTask.setTaskId(task.getId()); 99 scheduledTask.setJobId(task.getJobId()); 100 scheduledTask.addAllocation(allocation); 101 102 plan.addTask(scheduledTask); 103 } 91 104 92 105 }
Note: See TracChangeset
for help on using the changeset viewer.