public enum AlertPriority extends Enum<AlertPriority>
Modifier and Type | Method and Description |
---|---|
static AlertPriority |
fromDisplayName(String value) |
String |
getDisplayName() |
String |
getValue() |
static AlertPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertPriority P1
public static final AlertPriority P2
public static final AlertPriority P3
public static final AlertPriority P4
public static final AlertPriority P5
public static AlertPriority[] values()
for (AlertPriority c : AlertPriority.values()) System.out.println(c);
public static AlertPriority 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 String getValue()
public String getDisplayName()
public static AlertPriority fromDisplayName(String value)
Copyright © 2016–2023. All rights reserved.