Changeset 1415 for DCWoRMS/branches/coolemall/src/schedframe/events/scheduling/SchedulingEventCommand.java
- Timestamp:
- 07/15/14 16:26:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/schedframe/events/scheduling/SchedulingEventCommand.java
r1316 r1415 1 1 package schedframe.events.scheduling; 2 2 3 import schedframe.events.Event;4 3 import schedframe.events.EventCommand; 5 4 import schedframe.resources.computing.ComputingResource; 5 import schedframe.resources.computing.profiles.energy.ResourceEvent; 6 6 7 7 public class SchedulingEventCommand implements EventCommand { … … 13 13 } 14 14 15 public void execute( Event event) {16 SchedulingEvent ev = new ResourceStateChangedEvent( compResource.getFullName(),event.getType());15 public void execute(ResourceEvent event) { 16 SchedulingEvent ev = new ResourceStateChangedEvent(event.getType()); 17 17 ev.setSource(compResource.getFullName()); 18 18 compResource.getEventHandler().handleSchedulingEvent(ev);
Note: See TracChangeset
for help on using the changeset viewer.