Revision 1415,
451 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.resources.computing.profiles.energy.ResourceEventType; |
---|
4 | |
---|
5 | public class ResourceStateChangedEvent extends SchedulingEvent { |
---|
6 | |
---|
7 | protected ResourceEventType eventType; |
---|
8 | |
---|
9 | public ResourceStateChangedEvent(ResourceEventType eventType) { |
---|
10 | super(SchedulingEventType.RESOURCE_STATE_CHANGED); |
---|
11 | this.eventType = eventType; |
---|
12 | } |
---|
13 | |
---|
14 | |
---|
15 | public ResourceEventType getResourceEventType() { |
---|
16 | return eventType; |
---|
17 | } |
---|
18 | |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.