public static enum CustomsAlert.AlertSeverity extends Enum<CustomsAlert.AlertSeverity>
Enum Constant and Description |
---|
CRITICAL
Critical
|
INFORMATIONAL
Informational
|
WARNING
Warning
|
Modifier and Type | Method and Description |
---|---|
static CustomsAlert.AlertSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomsAlert.AlertSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomsAlert.AlertSeverity INFORMATIONAL
public static final CustomsAlert.AlertSeverity WARNING
public static final CustomsAlert.AlertSeverity CRITICAL
public static CustomsAlert.AlertSeverity[] values()
for (CustomsAlert.AlertSeverity c : CustomsAlert.AlertSeverity.values()) System.out.println(c);
public static CustomsAlert.AlertSeverity 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. All rights reserved.