public class ProbeCoverageInfo extends java.lang.Object implements java.io.Serializable
CoverageProbeBase
for a description of probes.
We use this object both to represent covered and coverable information. The
flag uploaded
differs between the two cases.Constructor and Description |
---|
ProbeCoverageInfo(boolean uploaded) |
ProbeCoverageInfo(boolean uploaded,
java.util.Collection<CoverageProbeBase> probes) |
ProbeCoverageInfo(ProbeCoverageInfo coverageProbeInfo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addProbe(CoverageProbeBase probe)
Adds the given probe
|
int |
getCoverableCount()
Returns the number of coverable entities of this probe coverage
|
int |
getCoveredCount()
Returns the number of covered entities of this probe coverage
|
UnmodifiableList<CoverageProbeBase> |
getProbes() |
boolean |
isUploaded() |
void |
setProbes(java.util.List<CoverageProbeBase> probes)
Overwrites the probes of this coverage info.
|
public ProbeCoverageInfo(boolean uploaded)
public ProbeCoverageInfo(boolean uploaded, java.util.Collection<CoverageProbeBase> probes)
public ProbeCoverageInfo(ProbeCoverageInfo coverageProbeInfo)
public void addProbe(CoverageProbeBase probe)
public UnmodifiableList<CoverageProbeBase> getProbes()
public void setProbes(java.util.List<CoverageProbeBase> probes)
public boolean isUploaded()
uploaded
public int getCoverableCount()
public int getCoveredCount()