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

Revision 104, 741 bytes checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
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 LocalConfig implements SchedulingPluginConfiguration {
10       
11        private Map<SchedulingEventType, Object> events = new HashMap<SchedulingEventType, Object>();
12       
13        public LocalConfig(){
14                events.put(SchedulingEventType.START_TASK_EXECUTION, null);
15                events.put(SchedulingEventType.TASK_FINISHED, null);
16                events.put(SchedulingEventType.TASK_REQUESTED_TIME_EXPIRED, null);
17                //events.put(SchedulingEventType.TIMER, 3600);
18        }
19       
20        public Map<SchedulingEventType, Object> getServedEvents() {
21                return events;
22        }
23       
24}
Note: See TracBrowser for help on using the repository browser.