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.
  • Constructor Details

    • BundleCoverageImpl

      public BundleCoverageImpl(String name, Collection<IPackageCoverage> packages)
      Creates a new instance of a bundle with the given name.
      Parameters:
      name - name of this bundle
      packages - 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 bundle
      classes - all classes in this bundle
      sourcefiles - all source files in this bundle
  • Method Details