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
FelderModifizierer und TypFeldBeschreibungstatic final CoverageNull object that indicates that the code coverage has not been measured. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()Creates the newCoverageinstance.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 newCoverageinstance.- Gibt zurück:
- the new instance
-