Ignore:
Timestamp:
09/20/12 12:03:03 (12 years ago)
Author:
sherbold
Message:
  • code documentation and clean-up
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/EventGenerator.java

    r775 r837  
    3232 * <p> 
    3333 * Translates sequences of windows messages into {@link WindowsEvent}s that can be used by the 
    34  * EventBench core libraries. 
     34 * QUEST core libraries. 
    3535 * </p> 
    3636 *  
    37  * @author Steffen Herbold 
    3837 * @version 1.0 
     38 * @author Steffen Herbold, Patrick Harms 
    3939 */ 
    4040public class EventGenerator { 
     
    220220    /** 
    221221     * <p> 
    222      * TODO: comment 
     222     * Evaluates whether the current message sequence matches a given rule. 
    223223     * </p> 
    224224     * 
    225      * @param currentRule 
     225     * @param currentRule rule that is matched 
     226     * @return true if the message sequence matches the rule; false otherwise 
    226227     */ 
    227228    private boolean evaluateMessageConditions(EventGenerationRule currentRule) { 
     
    742743    /** 
    743744     * <p> 
    744      * TODO: comment 
     745     * Resolves the parameters described by {@link Term}s. 
    745746     * </p> 
    746747     * 
    747      * @param eventParameters 
    748      * @return 
     748     * @param eventParameters terms whose parameters are resolved 
     749     * @return resolved parameters 
    749750     */ 
    750751    private Map<String, String> resolveParameters(List<Term> eventParameters) { 
     
    947948    /** 
    948949     * <p> 
    949      * convenience method for {@link #getTermValueAsList(WindowsMessage, Term)} with current 
     950     * Convenience method for {@link #getTermValueAsList(WindowsMessage, Term)} with current 
    950951     * message is null. 
    951952     * </p> 
     
    996997    /** 
    997998     * <p> 
    998      * TODO: comment 
     999     * Resolves term values. 
    9991000     * </p> 
    10001001     * 
    1001      * @param value 
    1002      * @param expectedType 
    1003      * @return 
     1002     * @param value value to be resolved 
     1003     * @param expectedType class defining the expected type 
     1004     * @return resolved value 
    10041005     */ 
    10051006    @SuppressWarnings("unchecked") 
     
    10761077    /** 
    10771078     * <p> 
    1078      * TODO: comment 
     1079     * Parses the rules. 
    10791080     * </p> 
    10801081     * 
     
    10911092        catch (JDOMException e) { 
    10921093            Console.printerrln("Invalid rules file."); 
    1093             // TODO handle Exception 
    1094             e.printStackTrace(); 
     1094            Console.logException(e); 
    10951095            return; 
    10961096        } 
    10971097        catch (IOException e) { 
    10981098            Console.printerrln("Invalid rules file."); 
    1099             // TODO handle Exception 
    1100             e.printStackTrace(); 
     1099            Console.logException(e); 
    11011100            return; 
    11021101        } 
Note: See TracChangeset for help on using the changeset viewer.