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.report.internal.html.index; 14 15 import org.jacoco.report.internal.html.ILinkable; 16 17 /** 18 * Every report page that should become part of the index must be added via this 19 * interface. 20 */ 21 public interface IIndexUpdate { 22 23 /** 24 * Adds a class to the index. 25 * 26 * @param link 27 * link to the class 28 * @param classid 29 * identifier of the class 30 */ addClass(ILinkable link, long classid)31 void addClass(ILinkable link, long classid); 32 33 } 34