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.data;
13 
14 /**
15  * Interface for data output of collected session information. This interface is
16  * meant to be implemented by parties that want to retrieve data from the
17  * coverage runtime.
18  */
19 public interface ISessionInfoVisitor {
20 
21 	/**
22 	 * Provides session information for the subsequent execution data calls. In
23 	 * case of merged sessions this method might be called multiple times.
24 	 *
25 	 * @param info
26 	 *            session information
27 	 */
visitSessionInfo(final SessionInfo info)28 	public void visitSessionInfo(final SessionInfo info);
29 
30 }
31