Ignore:
Timestamp:
07/15/14 16:26:31 (11 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/schedframe/events/scheduling/SchedulingEventCommand.java

    r1316 r1415  
    11package schedframe.events.scheduling; 
    22 
    3 import schedframe.events.Event; 
    43import schedframe.events.EventCommand; 
    54import schedframe.resources.computing.ComputingResource; 
     5import schedframe.resources.computing.profiles.energy.ResourceEvent; 
    66 
    77public class SchedulingEventCommand implements EventCommand { 
     
    1313        } 
    1414         
    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()); 
    1717                ev.setSource(compResource.getFullName()); 
    1818                compResource.getEventHandler().handleSchedulingEvent(ev); 
Note: See TracChangeset for help on using the changeset viewer.