Revision 104,
741 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 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.