IPackageCoverage.java revision d05ad7d4bc65e91b6c6efb45687f7a850d07f02a
1/******************************************************************************* 2 * Copyright (c) 2009, 2011 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.analysis; 13 14import java.util.Collection; 15 16/** 17 * Coverage data of a Java package. The name of this data node is the package 18 * name in VM notation (slash separated). The name of the default package is the 19 * empty string. 20 * 21 * @author Marc R. Hoffmann 22 * @version $qualified.bundle.version$ 23 */ 24public interface IPackageCoverage extends ICoverageNode { 25 26 /** 27 * Returns all classes contained in this package. 28 * 29 * @return all classes 30 */ 31 public Collection<IClassCoverage> getClasses(); 32 33 /** 34 * Returns all source files in this package. 35 * 36 * @return all source files 37 */ 38 public Collection<ISourceFileCoverage> getSourceFiles(); 39 40}