01: package net.sourceforge.cruisecontrol;
02:
03: import java.io.Serializable;
04:
05: import javax.management.JMException;
06: import javax.management.MBeanServer;
07:
08: public interface ProjectInterface extends Serializable {
09:
10: String getName();
11:
12: void execute();
13:
14: void stop();
15:
16: void register(MBeanServer server) throws JMException;
17:
18: void setBuildQueue(BuildQueue buildQueue);
19:
20: void start();
21:
22: void getStateFromOldProject(ProjectInterface project)
23: throws CruiseControlException;
24:
25: void configureProject() throws CruiseControlException;
26:
27: void validate() throws CruiseControlException;
28:
29: }
|