Changeset 837 for trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/EventGenerator.java
- Timestamp:
- 09/20/12 12:03:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/EventGenerator.java
r775 r837 32 32 * <p> 33 33 * Translates sequences of windows messages into {@link WindowsEvent}s that can be used by the 34 * EventBenchcore libraries.34 * QUEST core libraries. 35 35 * </p> 36 36 * 37 * @author Steffen Herbold38 37 * @version 1.0 38 * @author Steffen Herbold, Patrick Harms 39 39 */ 40 40 public class EventGenerator { … … 220 220 /** 221 221 * <p> 222 * TODO: comment222 * Evaluates whether the current message sequence matches a given rule. 223 223 * </p> 224 224 * 225 * @param currentRule 225 * @param currentRule rule that is matched 226 * @return true if the message sequence matches the rule; false otherwise 226 227 */ 227 228 private boolean evaluateMessageConditions(EventGenerationRule currentRule) { … … 742 743 /** 743 744 * <p> 744 * TODO: comment745 * Resolves the parameters described by {@link Term}s. 745 746 * </p> 746 747 * 747 * @param eventParameters 748 * @return 748 * @param eventParameters terms whose parameters are resolved 749 * @return resolved parameters 749 750 */ 750 751 private Map<String, String> resolveParameters(List<Term> eventParameters) { … … 947 948 /** 948 949 * <p> 949 * convenience method for {@link #getTermValueAsList(WindowsMessage, Term)} with current950 * Convenience method for {@link #getTermValueAsList(WindowsMessage, Term)} with current 950 951 * message is null. 951 952 * </p> … … 996 997 /** 997 998 * <p> 998 * TODO: comment999 * Resolves term values. 999 1000 * </p> 1000 1001 * 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 1004 1005 */ 1005 1006 @SuppressWarnings("unchecked") … … 1076 1077 /** 1077 1078 * <p> 1078 * TODO: comment1079 * Parses the rules. 1079 1080 * </p> 1080 1081 * … … 1091 1092 catch (JDOMException e) { 1092 1093 Console.printerrln("Invalid rules file."); 1093 // TODO handle Exception 1094 e.printStackTrace(); 1094 Console.logException(e); 1095 1095 return; 1096 1096 } 1097 1097 catch (IOException e) { 1098 1098 Console.printerrln("Invalid rules file."); 1099 // TODO handle Exception 1100 e.printStackTrace(); 1099 Console.logException(e); 1101 1100 return; 1102 1101 }
Note: See TracChangeset
for help on using the changeset viewer.