Changeset 870 for trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorComponent.java
- Timestamp:
- 10/12/12 14:04:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorComponent.java
r857 r870 3 3 /** 4 4 * <p> 5 * TODO comment 5 * convenience interface for all components making up the HTML monitor. All components implement 6 * this interface to ensure homogeneity throughout them. A component must first be initialized 7 * ({@link #init()}), then started ({@link #start()}) and finally stopped ({@link #stop()}). 6 8 * </p> 7 9 * … … 11 13 12 14 /** 15 * initializes a component, i.e. it does everything needed to prepare starting the component 13 16 * 17 * @throws IllegalStateException thrown if the method was already called before but 18 * {@link #stop()} wasn't called yet 19 * @throws HtmlMonitorException thrown if the initialization fails, e.g. because needed infos 20 * are missing 14 21 */ 15 22 void init() throws IllegalStateException, HtmlMonitorException; 16 23 17 24 /** 25 * starts a component 18 26 * 27 * @throws IllegalStateException thrown if {@link #init()} wasn't called yet of if the component 28 * is already started through a preceding call to this method 29 * @throws HtmlMonitorException thrown if the startup fails, e.g. because needed infos 30 * are missing 19 31 */ 20 32 void start() throws IllegalStateException, HtmlMonitorException; 21 33 22 34 /** 23 * 35 * stops a component and cleans up any derivate. In the following, {@link #init()} must be 36 * callable again. If the component is not initialized or started, nothing must happen. If the 37 * component is initialized but not started, the initialization is revoked. 24 38 */ 25 39 void stop();
Note: See TracChangeset
for help on using the changeset viewer.