KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > vladium > emma > report > IReportGenerator


1 /* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved.
2  *
3  * This program and the accompanying materials are made available under
4  * the terms of the Common Public License v1.0 which accompanies this distribution,
5  * and is available at http://www.eclipse.org/legal/cpl-v10.html
6  *
7  * $Id: IReportGenerator.java,v 1.1.1.1 2004/05/09 16:57:37 vlad_r Exp $
8  */

9 package com.vladium.emma.report;
10
11 import com.vladium.util.IProperties;
12 import com.vladium.emma.EMMARuntimeException;
13 import com.vladium.emma.data.IMetaData;
14 import com.vladium.emma.data.ICoverageData;
15
16 // ----------------------------------------------------------------------------
17
/**
18  * @author Vlad Roubtsov, (C) 2003
19  */

20 public
21 interface IReportGenerator
22 {
23     // public: ................................................................
24

25     String JavaDoc getType ();
26     
27     // TODO: make sure reporters are reusable
28

29     void process (IMetaData mdata, ICoverageData cdata, SourcePathCache cache, IProperties parameters)
30         throws EMMARuntimeException;
31     
32     void cleanup ();
33         
34 } // end of interface
35
// ----------------------------------------------------------------------------
Popular Tags