ch.elca.el4j.coberturaruntime
Interface CoberturaRuntimeController

All Known Implementing Classes:
CoberturaRuntimeControllerImpl

public interface CoberturaRuntimeController

Cobertura runtime controller interface.

Author:
Martin Zeltner (MZE)
File-location:
CoberturaRuntimeController
Last check-in date:
2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873

Method Summary
 void flushRecords()
          Flushes the made records to the given data file.
 String generateReport()
          Generates the cobertura report of the current state.
 String getDataFilePath()
           
 boolean isRecording()
           
 boolean startRecording()
          Starts recording of cobertura.
 boolean stopRecording()
          Stops recording of cobertura.
 

Method Detail

startRecording

boolean startRecording()
Starts recording of cobertura.

Returns:
Returns true if the recording could be started and cobertura was not already running.

stopRecording

boolean stopRecording()
Stops recording of cobertura.

Returns:
Returns true if the recording could be stopped and cobertura was not already stopped.

isRecording

boolean isRecording()
Returns:
Returns true if cobertura is currently recording.

flushRecords

void flushRecords()
Flushes the made records to the given data file.


getDataFilePath

String getDataFilePath()
Returns:
Returns the path to the cobertura data file.

generateReport

String generateReport()
Generates the cobertura report of the current state.

Returns:
Returns the directory path of the generated report.


Copyright © 2005-2011 ELCA. All Rights Reserved.