source: DCWoRMS/trunk/build/classes/schedframe/events/TaskEvent.java @ 477

Revision 477, 432 bytes checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package schedframe.events;
2
3import schedframe.scheduling.tasks.WorkloadUnit;
4
5
6
7public class TaskEvent {
8
9        protected WorkloadUnit<?> task;
10        protected String resourceName;
11       
12        public TaskEvent(WorkloadUnit<?> task,
13                         String resourceName) {
14                super();
15                this.task = task;
16                this.resourceName = resourceName;
17        }
18       
19        public WorkloadUnit<?> getTask() {
20                return task;
21        }
22
23        public String getResourceName() {
24                return resourceName;
25        }
26       
27}
Note: See TracBrowser for help on using the repository browser.