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