org.jacoco.core.data
Interface IExecutionDataVisitor

All Known Implementing Classes:
ExecutionDataStore, ExecutionDataWriter

public interface IExecutionDataVisitor

Interface for data output of collected execution data. This interface is meant to be implemented by parties that want to retrieve data from the coverage runtime.

Version:
$Revision: $
Author:
Marc R. Hoffmann

Method Summary
 void visitClassExecution(long id, String name, boolean[][] blockdata)
          Provides execution data for the class with the given id.
 

Method Detail

visitClassExecution

void visitClassExecution(long id,
                         String name,
                         boolean[][] blockdata)
Provides execution data for the class with the given id. The first dimension of the array corresponds to the method id the second to the block id as provided with the structure data for this class. A value of true indicates that a block has been executed, i.e. its last instruction was called.

Parameters:
id - id of the class
name - VM name of the class
blockdata - coverage data for the class