public static enum RiskInfo.RISK extends Enum<RiskInfo.RISK>
| Enum Constant and Description |
|---|
HARDENING
Hardening risk.
|
HIGH
High risk.
|
LOW
Low risk.
|
MEDIUM
Medium risk.
|
POTENTIALLY
Potentially risk.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue() |
static RiskInfo.RISK |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RiskInfo.RISK[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RiskInfo.RISK HIGH
public static final RiskInfo.RISK MEDIUM
public static final RiskInfo.RISK LOW
public static final RiskInfo.RISK POTENTIALLY
public static final RiskInfo.RISK HARDENING
public static RiskInfo.RISK[] values()
for (RiskInfo.RISK c : RiskInfo.RISK.values()) System.out.println(c);
public static RiskInfo.RISK 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 getValue()
Copyright © 2016–2025. All rights reserved.