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 import java.util.Collection; 16 17 /** 18 * Coverage data of a bundle. A bundle groups a collection of packages. 19 * 20 * @see IPackageCoverage 21 */ 22 public interface IBundleCoverage extends ICoverageNode { 23 24 /** 25 * Returns all packages contained in this bundle. 26 * 27 * @return all packages 28 */ getPackages()29 Collection<IPackageCoverage> getPackages(); 30 31 } 32