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 */
9package com.vladium.emma.report;
10
11import com.vladium.util.IProperties;
12import com.vladium.emma.EMMARuntimeException;
13import com.vladium.emma.data.IMetaData;
14import com.vladium.emma.data.ICoverageData;
15
16// ----------------------------------------------------------------------------
17/**
18 * @author Vlad Roubtsov, (C) 2003
19 */
20public
21interface IReportGenerator
22{
23    // public: ................................................................
24
25    String 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// ----------------------------------------------------------------------------