source: DCWoRMS/branches/coolemall/src/schedframe/scheduling/plugin/SchedulingPluginConfiguration.java @ 1447

Revision 1447, 560 bytes checked in by wojtekp, 11 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package schedframe.scheduling.plugin;
2
3import java.util.HashMap;
4import java.util.Map;
5
6import schedframe.PluginConfiguration;
7import schedframe.events.EventType;
8
9public class SchedulingPluginConfiguration implements PluginConfiguration {
10       
11        private Map<EventType, Object> events;
12
13        public SchedulingPluginConfiguration(){
14                this.events = new HashMap<EventType, Object>(2);
15        }
16       
17        public void addServedEvent(EventType eventType, Object argument){
18                events.put(eventType, argument);
19        }
20       
21        public Map<EventType, Object> getServedEvents() {
22                return events;
23        }
24}
Note: See TracBrowser for help on using the repository browser.