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