Klasse Coverage.CoverageBuilder
java.lang.Object
io.jenkins.plugins.coverage.model.Coverage.CoverageBuilder
- Umschließende Klasse:
Coverage
Builder to create an cache new
Coverage
instances.-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final Coverage
Null object that indicates that the code coverage has not been measured. -
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()
Creates the newCoverage
instance.setCovered
(int covered) Sets the number of covered items.setMissed
(int missed) Sets the number of missed items.setTotal
(int total) Sets the number of total items.
-
Felddetails
-
NO_COVERAGE
Null object that indicates that the code coverage has not been measured.
-
-
Konstruktordetails
-
CoverageBuilder
public CoverageBuilder()
-
-
Methodendetails
-
setTotal
Sets the number of total items.- Parameter:
total
- the number of total items- Gibt zurück:
- this
-
setCovered
Sets the number of covered items.- Parameter:
covered
- the number of covered items- Gibt zurück:
- this
-
setMissed
Sets the number of missed items.- Parameter:
missed
- the number of missed items- Gibt zurück:
- this
-
build
Creates the newCoverage
instance.- Gibt zurück:
- the new instance
-