Revision 1316,
533 bytes
checked in by wojtekp, 11 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package schedframe.events.scheduling; |
---|
2 | |
---|
3 | import schedframe.events.EventType; |
---|
4 | |
---|
5 | public class ResourceStateChangedEvent extends SchedulingEvent { |
---|
6 | |
---|
7 | protected String resourceName; |
---|
8 | protected EventType eventType; |
---|
9 | |
---|
10 | public ResourceStateChangedEvent(String resourceName, EventType eventType) { |
---|
11 | super(SchedulingEventType.RESOURCE_STATE_CHANGED); |
---|
12 | this.resourceName = resourceName; |
---|
13 | this.eventType = eventType; |
---|
14 | } |
---|
15 | |
---|
16 | public String getResourceName() { |
---|
17 | return resourceName; |
---|
18 | } |
---|
19 | |
---|
20 | public EventType getEventType() { |
---|
21 | return eventType; |
---|
22 | } |
---|
23 | |
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.