public static enum VulnerabilityFactor.EaseOfExploit extends Enum<VulnerabilityFactor.EaseOfExploit> implements ILikelihood
| Enum Constant and Description |
|---|
AUTOMATED_TOOLS_AVAILABLE |
DIFFICULT |
EASY |
THEORETICAL |
| Modifier and Type | Method and Description |
|---|---|
static VulnerabilityFactor.EaseOfExploit |
fromDouble(double level) |
static VulnerabilityFactor.EaseOfExploit |
fromString(String level) |
double |
getLikelihood() |
static VulnerabilityFactor.EaseOfExploit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VulnerabilityFactor.EaseOfExploit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VulnerabilityFactor.EaseOfExploit THEORETICAL
public static final VulnerabilityFactor.EaseOfExploit DIFFICULT
public static final VulnerabilityFactor.EaseOfExploit EASY
public static final VulnerabilityFactor.EaseOfExploit AUTOMATED_TOOLS_AVAILABLE
public static VulnerabilityFactor.EaseOfExploit[] values()
for (VulnerabilityFactor.EaseOfExploit c : VulnerabilityFactor.EaseOfExploit.values()) System.out.println(c);
public static VulnerabilityFactor.EaseOfExploit valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic double getLikelihood()
getLikelihood in interface ILikelihoodpublic static VulnerabilityFactor.EaseOfExploit fromDouble(double level)
public static VulnerabilityFactor.EaseOfExploit fromString(String level)
Copyright © 2019–2022. All rights reserved.