- Timestamp:
- 01/27/12 11:19:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc/data/JFCEvent.java
r318 r359 6 6 import de.ugoe.cs.eventbench.data.IReplayable; 7 7 import de.ugoe.cs.eventbench.data.ReplayableEvent; 8 import de.ugoe.cs.eventbench.jfc.JFCLogParser; 8 9 9 10 /** … … 98 99 */ 99 100 public void addSourceInformation(String name, String value) { 100 if( "toString".equals(name) ) {101 setTarget(value);102 }103 101 sourceParameters.put(name, value); 104 102 } … … 129 127 public void addParentInformation(String name, String value) { 130 128 parentParameters.put(name, value); 129 } 130 131 /** 132 * <p> 133 * Used by the {@link JFCLogParser} to extend the target string of the 134 * current event with a further ancestor. The resulting target string will 135 * have the structure {@code etc.grandparent.parent.eventtarget}. 136 * </p> 137 * 138 * @param extension 139 * extension for the target. 140 */ 141 public void extendTarget(String extension) { 142 if (target == null || "".equals(target)) { 143 target = extension; 144 } else { 145 target += "." + extension; 146 } 131 147 } 132 148
Note: See TracChangeset
for help on using the changeset viewer.