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