org.jacoco.core.internal.analysis
Class BundleCoverageImpl
java.lang.Object
org.jacoco.core.analysis.CoverageNodeImpl
org.jacoco.core.internal.analysis.BundleCoverageImpl
- All Implemented Interfaces:
- IBundleCoverage, ICoverageNode
public class BundleCoverageImpl
- extends CoverageNodeImpl
- implements IBundleCoverage
Implementation of IBundleCoverage.
| Methods inherited from class org.jacoco.core.analysis.CoverageNodeImpl |
getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy, increment, increment, toString |
BundleCoverageImpl
public BundleCoverageImpl(String name,
Collection<IPackageCoverage> packages)
- Creates a new instance of a bundle with the given name.
- Parameters:
name - name of this bundlepackages - collection of all packages contained in this bundle
BundleCoverageImpl
public BundleCoverageImpl(String name,
Collection<IClassCoverage> classes,
Collection<ISourceFileCoverage> sourcefiles)
- Creates a new instance of a bundle with the given name. The packages are
calculated from the given classes and source files.
- Parameters:
name - name of this bundleclasses - all classes in this bundlesourcefiles - all source files in this bundle
getPackages
public Collection<IPackageCoverage> getPackages()
- Description copied from interface:
IBundleCoverage
- Returns all packages contained in this bundle.
- Specified by:
getPackages in interface IBundleCoverage
- Returns:
- all packages
Copyright © 2009-2016 Mountainminds GmbH & Co. KG. All Rights Reserved.