public enum AlertFirmness extends Enum<AlertFirmness>
AlertFirmness
enum is used to represent whether an alert should
be considered as a real alert or whether it could still potentially be a
false positive. Alerts which are SOFT
must have more occurrences in
order to rule out the possibility of a false positive.Enum Constant and Description |
---|
HARD
The alert is not a potential false-positive.
|
SOFT
The alert is a potential false positive and needs more instances to be
confirmed.
|
Modifier and Type | Method and Description |
---|---|
static AlertFirmness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertFirmness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertFirmness SOFT
public static final AlertFirmness HARD
public static AlertFirmness[] values()
for (AlertFirmness c : AlertFirmness.values()) System.out.println(c);
public static AlertFirmness 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 nullCopyright © 2022 Apache Software Foundation. All rights reserved.