public static enum CustomsAlert.AlertAction extends Enum<CustomsAlert.AlertAction>
Enum Constant and Description |
---|
BLOCK
Indicator should be blocked temporarily
|
DISABLE
Indicator should be disabled permanently
|
REPORT
Consider a report only
|
SUSPECT
Indicator should be suspected
|
Modifier and Type | Method and Description |
---|---|
static CustomsAlert.AlertAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomsAlert.AlertAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomsAlert.AlertAction REPORT
public static final CustomsAlert.AlertAction SUSPECT
public static final CustomsAlert.AlertAction BLOCK
public static final CustomsAlert.AlertAction DISABLE
public static CustomsAlert.AlertAction[] values()
for (CustomsAlert.AlertAction c : CustomsAlert.AlertAction.values()) System.out.println(c);
public static CustomsAlert.AlertAction 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.