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