Ignore:
Timestamp:
10/12/12 14:04:09 (12 years ago)
Author:
pharms
Message:
  • added some comments
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorComponent.java

    r857 r870  
    33/** 
    44 * <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()}). 
    68 * </p> 
    79 *  
     
    1113 
    1214    /** 
     15     * initializes a component, i.e. it does everything needed to prepare starting the component 
    1316     *  
     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 
    1421     */ 
    1522    void init() throws IllegalStateException, HtmlMonitorException; 
    1623 
    1724    /** 
     25     * starts a component 
    1826     *  
     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 
    1931     */ 
    2032    void start() throws IllegalStateException, HtmlMonitorException; 
    2133 
    2234    /** 
    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. 
    2438     */ 
    2539    void stop(); 
Note: See TracChangeset for help on using the changeset viewer.