public class CvssV2Score extends DoublePropertyEvaluator
Modifier and Type | Field and Description |
---|---|
static String |
displayName |
Constructor and Description |
---|
CvssV2Score() |
CvssV2Score(double threshold) |
Modifier and Type | Method and Description |
---|---|
RuleResult |
check(Image image)
Check the given assessment report against the given threshold.
|
String |
getCriterionName() |
String |
getDisplayName() |
Set<Package> |
getQualifyingPackages(Image image) |
double |
getValue(Image image) |
getConfiguredValue, getThreshold, isValid, setThreshold
public static final String displayName
public CvssV2Score()
public CvssV2Score(double threshold)
public String getDisplayName()
public RuleResult check(Image image)
PropertyEvaluator
check
in interface PropertyEvaluator
check
in class DoublePropertyEvaluator
image
- The assessment report to check.true
if the report satisfies
the threshold; false
otherwise.public double getValue(Image image)
getValue
in class DoublePropertyEvaluator
public Set<Package> getQualifyingPackages(Image image)
image
- The assessment report to check.public String getCriterionName()
Copyright © 2016–2022. All rights reserved.