com.sodius.mdw.core.eval.report
Interface Report


public interface Report

An evaluation report keeps track of generated files and read/written models during an evaluation.

This interface is not intended to be implemented by clients.

See Also:
EvaluationResult.getReport(), EvaluationManager.loadReport(File)

Method Summary
 long getEndTimestamp()
          Returns the time (in milliseconds) the evaluation has completed.
 List<GeneratedFile> getGeneratedFiles()
          Returns the list of files generated during the evaluation.
 List<ReportModel> getReportModels()
          Returns this list of the models read/written during the evaluation.
 long getStartTimestamp()
          Returns the time (in milliseconds) the evaluation has started.
 void save(File file)
          Saves this report into the specified file.
 

Method Detail

getStartTimestamp

long getStartTimestamp()
Returns the time (in milliseconds) the evaluation has started.

Returns:
the evaluation start timestamp.
See Also:
System.currentTimeMillis()

getEndTimestamp

long getEndTimestamp()
Returns the time (in milliseconds) the evaluation has completed.

Returns:
the evaluation end timestamp.
See Also:
System.currentTimeMillis()

getGeneratedFiles

List<GeneratedFile> getGeneratedFiles()
Returns the list of files generated during the evaluation. This list is ordered the way files were generated.

Returns:
an unmodifiable list of GeneratedFile elements.
See Also:
GeneratedFile

getReportModels

List<ReportModel> getReportModels()
Returns this list of the models read/written during the evaluation. This list is ordered the way models were read/written.

Returns:
an unmodifiable list of ReportModel elements.
See Also:
ReportModel

save

void save(File file)
          throws CoreException
Saves this report into the specified file.

Parameters:
file - the location where to save report information.
Throws:
CoreException - if the report could not be saved.
See Also:
EvaluationManager.loadReport(File)