ISessionInfoVisitor.java revision 10a3ed3d5af2cbfbec2b35405d8d9420a9bf8776
1/*******************************************************************************
2 * Copyright (c) Copyright (c) Copyright (c) 2009, 2012 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 *******************************************************************************/
12package 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 */
19public 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	 */
28	public void visitSessionInfo(final SessionInfo info);
29
30}
31