public static class PitConfiguration.PitConfigurationBuilder extends Object
PitConfiguration instance.| Constructor and Description |
|---|
PitConfigurationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
PitConfiguration |
build()
Creates a new instance of
PitConfiguration using the configured properties. |
PitConfiguration.PitConfigurationBuilder |
setDetectedImpact(int detectedImpact)
Sets the number of points to increase the score for each detected mutation.
|
PitConfiguration.PitConfigurationBuilder |
setMaxScore(int maxScore)
Sets the maximum score to achieve for the test results.
|
PitConfiguration.PitConfigurationBuilder |
setRatioImpact(int ratioImpact)
Sets the number of points to decrease the score for each missed coverage percentage point.
|
PitConfiguration.PitConfigurationBuilder |
setUndetectedImpact(int undetectedImpact)
Sets the number of points to decrease the score for each undetected mutation.
|
public PitConfiguration.PitConfigurationBuilder setMaxScore(int maxScore)
maxScore - maximum score to achieve for the test results.public PitConfiguration.PitConfigurationBuilder setUndetectedImpact(int undetectedImpact)
undetectedImpact - the number of points to increase the score for each coverage percentage point.public PitConfiguration.PitConfigurationBuilder setDetectedImpact(int detectedImpact)
detectedImpact - the number of points to increase the score for each coverage percentage point.public PitConfiguration.PitConfigurationBuilder setRatioImpact(int ratioImpact)
ratioImpact - the number of points to decrease the score for each missed coverage percentage point.public PitConfiguration build()
PitConfiguration using the configured properties.Copyright © 2016–2020. All rights reserved.