de.uka.ipd.sdq.ByCounter.reporting
Interface ICountingResultWriter

All Known Implementing Classes:
ChartResultWriter, CountingResultCSVWriter, PdfReport

public interface ICountingResultWriter

Classes implementing this interface can be used with CountingResultCollector to process and report ByCounter results. Instances of implementing classess can be added to the list of used result writers using CountingResultCollector.registerWriter(ICountingResultWriter). All result writers registered in this way will then be used for calls to CountingResult.logResult(boolean, boolean).

Since:
0.1
Version:
1.2
Author:
Martin Krogmann, Michael Kuperberg

Method Summary
 long writeResultToFile(CountingResult cr, boolean usePrevTimestamp, long prevTimestampToUse)
           
 

Method Detail

writeResultToFile

long writeResultToFile(CountingResult cr,
                       boolean usePrevTimestamp,
                       long prevTimestampToUse)
Parameters:
cr - CountingResult to write
usePrevTimestamp - TODO explain
prevTimestampToUse -
Returns:
timestamp that is part of the file name (if usePrevTimestamp==false, the returned timestamp is internally generated by this method)