1 /*******************************************************************************
2  * Copyright (c) 2009, 2015 Mountainminds GmbH & Co. KG and Contributors
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  *    Marc R. Hoffmann - initial API and implementation
10  *
11  *******************************************************************************/
12 package org.jacoco.core.analysis;
13 
14 /**
15  * Interface for coverage data output as a stream of {@link IClassCoverage}
16  * instances.
17  */
18 public interface ICoverageVisitor {
19 
20 	/**
21 	 * For analyzed class coverage data is emitted to this method.
22 	 *
23 	 * @param coverage
24 	 *            coverage data for a class
25 	 */
visitCoverage(IClassCoverage coverage)26 	public void visitCoverage(IClassCoverage coverage);
27 
28 }
29