public class BundleCoverageImpl extends CoverageNodeImpl implements IBundleCoverage
IBundleCoverage
.ICoverageNode.CounterEntity, ICoverageNode.ElementType
branchCounter, classCounter, complexityCounter, instructionCounter, lineCounter, methodCounter
Constructor and Description |
---|
BundleCoverageImpl(String name,
Collection<IClassCoverage> classes,
Collection<ISourceFileCoverage> sourcefiles)
Creates a new instance of a bundle with the given name.
|
BundleCoverageImpl(String name,
Collection<IPackageCoverage> packages)
Creates a new instance of a bundle with the given name.
|
Modifier and Type | Method and Description |
---|---|
Collection<IPackageCoverage> |
getPackages()
Returns all packages contained in this bundle.
|
getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy, increment, increment, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy
public BundleCoverageImpl(String name, Collection<IPackageCoverage> packages)
name
- name of this bundlepackages
- collection of all packages contained in this bundlepublic BundleCoverageImpl(String name, Collection<IClassCoverage> classes, Collection<ISourceFileCoverage> sourcefiles)
name
- name of this bundleclasses
- all classes in this bundlesourcefiles
- all source files in this bundlepublic Collection<IPackageCoverage> getPackages()
IBundleCoverage
getPackages
in interface IBundleCoverage
Copyright © 2014. All rights reserved.