public static class CoverageConfiguration.CoverageConfigurationBuilder extends Object
CoverageConfiguration instance.| Constructor and Description |
|---|
CoverageConfigurationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
CoverageConfiguration |
build()
Creates a new instance of
CoverageConfiguration using the configured properties. |
CoverageConfiguration.CoverageConfigurationBuilder |
setCoveredImpact(int coveredImpact)
Sets the number of points to increase the score for each coverage percentage point.
|
CoverageConfiguration.CoverageConfigurationBuilder |
setMaxScore(int maxScore)
Sets the maximum score to achieve for the test results.
|
CoverageConfiguration.CoverageConfigurationBuilder |
setMissedImpact(int missedImpact)
Sets the number of points to decrease the score for each missing coverage percentage point.
|
public CoverageConfiguration.CoverageConfigurationBuilder setMaxScore(int maxScore)
maxScore - maximum score to achieve for the test results.public CoverageConfiguration.CoverageConfigurationBuilder setCoveredImpact(int coveredImpact)
coveredImpact - the number of points to increase the score for each coverage percentage point.public CoverageConfiguration.CoverageConfigurationBuilder setMissedImpact(int missedImpact)
missedImpact - the number of points to decrease the score for each missing coverage percentage point.public CoverageConfiguration build()
CoverageConfiguration using the configured properties.Copyright © 2016–2020. All rights reserved.