public static class AnalysisConfiguration.AnalysisConfigurationBuilder extends Object
AnalysisConfiguration instance.| Constructor and Description |
|---|
AnalysisConfigurationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
AnalysisConfiguration |
build()
Creates a new instance of
AnalysisConfiguration using the configured properties. |
AnalysisConfiguration.AnalysisConfigurationBuilder |
setErrorImpact(int errorImpact)
Sets the number of points to increase or decrease the score if a warning with
Severity.ERROR has been detected. |
AnalysisConfiguration.AnalysisConfigurationBuilder |
setHighImpact(int highImpact)
Sets the number of points to increase or decrease the score if a warning with
Severity.WARNING_HIGH has been detected. |
AnalysisConfiguration.AnalysisConfigurationBuilder |
setLowImpact(int weightLow)
Sets the number of points to increase or decrease the score if a warning with
Severity.WARNING_LOW has been detected. |
AnalysisConfiguration.AnalysisConfigurationBuilder |
setMaxScore(int maxScore)
Sets the maximum score to achieve for the test results.
|
AnalysisConfiguration.AnalysisConfigurationBuilder |
setNormalImpact(int normalImpact)
Sets the number of points to increase or decrease the score if a warning with
Severity.WARNING_NORMAL has been detected. |
public AnalysisConfiguration.AnalysisConfigurationBuilder setMaxScore(int maxScore)
maxScore - maximum score to achieve for the test results.public AnalysisConfiguration.AnalysisConfigurationBuilder setErrorImpact(int errorImpact)
Severity.ERROR has been detected.errorImpact - number of points to increase or decrease the score if a warning with Severity.ERROR has been detectedpublic AnalysisConfiguration.AnalysisConfigurationBuilder setHighImpact(int highImpact)
Severity.WARNING_HIGH has been detected.highImpact - number of points to increase or decrease the score if a warning with Severity.WARNING_HIGH has been detectedpublic AnalysisConfiguration.AnalysisConfigurationBuilder setNormalImpact(int normalImpact)
Severity.WARNING_NORMAL has been detected.normalImpact - number of points to increase or decrease the score if a warning with Severity.WARNING_NORMAL has been detectedpublic AnalysisConfiguration.AnalysisConfigurationBuilder setLowImpact(int weightLow)
Severity.WARNING_LOW has been detected.weightLow - number of points to increase or decrease the score if a warning with Severity.WARNING_LOW has been detectedpublic AnalysisConfiguration build()
AnalysisConfiguration using the configured properties.Copyright © 2016–2020. All rights reserved.