Changeset 98 for trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDgenerateReplayfile.java
- Timestamp:
- 07/04/11 11:59:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDgenerateReplayfile.java
r84 r98 27 27 String sequencesName = "sequences"; 28 28 if( parameters.size()==2 ) { 29 sequencesName = (String) parameters.get( 0);29 sequencesName = (String) parameters.get(1); 30 30 } 31 31 … … 36 36 sequences = (List<List<ReplayableEvent<?>>>) dataObject; 37 37 ReplayGenerator generator = new ReplayGenerator(); 38 if( sequences.size()>0 ) { 39 if( sequences.get(0).get(0) instanceof Event ) { 40 generator.createLogfileMultipleSessions(sequences, filename); 41 } else { 42 Console.printerrln("Loaded data not are not sequences!"); 43 if( sequencesName.equals("sequences") ) { 44 Console.traceln("Illegal use of \"sequences\" parameter in the GlobalDataContainer."); 45 Console.traceln("The parameter should always be of type List<List<Event>>!"); 46 } 38 if( sequences!=null && sequences.size()>0 && sequences.get(0).get(0) instanceof Event ) { 39 generator.createLogfileMultipleSessions(sequences, filename); 40 } else { 41 Console.printerrln("Loaded data not are not sequences!"); 42 if( sequencesName.equals("sequences") ) { 43 Console.traceln("Illegal use of \"sequences\" parameter in the GlobalDataContainer."); 44 Console.traceln("The parameter should always be of type List<List<Event>>!"); 47 45 } 48 46 }
Note: See TracChangeset
for help on using the changeset viewer.