KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > cruisecontrol > listeners > ProjectStateChangedEvent


1 package net.sourceforge.cruisecontrol.listeners;
2
3 import net.sourceforge.cruisecontrol.ProjectEvent;
4 import net.sourceforge.cruisecontrol.ProjectState;
5
6 /**
7  * .
8  * User: jfredrick
9  * Date: Sep 6, 2004
10  * Time: 11:09:50 PM
11  */

12 public class ProjectStateChangedEvent extends ProjectEvent {
13     private final ProjectState newState;
14
15     public ProjectStateChangedEvent(String JavaDoc projectName, ProjectState state) {
16         super(projectName);
17         newState = state;
18     }
19
20     public ProjectState getNewState() {
21         return newState;
22     }
23 }
24
Popular Tags