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
writeResultToFile
long writeResultToFile(CountingResult cr,
boolean usePrevTimestamp,
long prevTimestampToUse)
- Parameters:
cr
- CountingResult to writeusePrevTimestamp
- TODO explainprevTimestampToUse
-
- Returns:
- timestamp that is part of the file name
(if usePrevTimestamp==false,
the returned timestamp is internally generated by this method)