Klasse CoverageLeaf
java.lang.Object
io.jenkins.plugins.coverage.model.CoverageLeaf
- Alle implementierten Schnittstellen:
Serializable
A leaf in the coverage hierarchy. A leaf is a non-divisible coverage metric like line or branch coverage.
- Autor:
- Ullrich Hafner
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungCoverageLeaf
(CoverageMetric metric, Coverage coverage) Creates a new leaf with the given coverage for the specified metric. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
getCoverage
(CoverageMetric searchMetric) Returns the coverage for the specified metric.int
hashCode()
toString()
-
Konstruktordetails
-
CoverageLeaf
Creates a new leaf with the given coverage for the specified metric.- Parameter:
metric
- the coverage metriccoverage
- the coverage of the element
-
-
Methodendetails
-
getMetric
-
getCoverage
Returns the coverage for the specified metric.- Parameter:
searchMetric
- the metric to get the coverage for- Gibt zurück:
- coverage ratio
-
toString
-
equals
-
hashCode
public int hashCode()
-