source: xssim/src/schedframe/scheduling/plugin/configuration/LocalARConfig.java @ 104

Revision 104, 749 bytes checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
RevLine 
[104]1package schedframe.scheduling.plugin.configuration;
2
3import java.util.HashMap;
4import java.util.Map;
5
6import schedframe.scheduling.events.SchedulingEventType;
7import schedframe.scheduling.plugin.SchedulingPluginConfiguration;
8
9public class LocalARConfig implements SchedulingPluginConfiguration {
10       
11        private Map<SchedulingEventType, Object> events = new HashMap<SchedulingEventType, Object>();
12       
13        public LocalARConfig(){
14                events.put(SchedulingEventType.START_TASK_EXECUTION, null);
15                events.put(SchedulingEventType.TASK_FINISHED, null);
16                events.put(SchedulingEventType.RESERVATION_ACTIVE, null);
17                events.put(SchedulingEventType.RESERVATION_FINISHED, null);
18        }
19       
20        public Map<SchedulingEventType, Object> getServedEvents() {
21                return events;
22        }
23       
24}
Note: See TracBrowser for help on using the repository browser.