Enum AlertReason.Code
- java.lang.Object
-
- java.lang.Enum<AlertReason.Code>
-
- io.snice.codecs.codec.diameter.avp.api.AlertReason.Code
-
- All Implemented Interfaces:
Serializable
,Comparable<AlertReason.Code>
- Enclosing interface:
- AlertReason
public static enum AlertReason.Code extends Enum<AlertReason.Code>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UE_MEMORY_AVAILABLE
UE_PRESENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
static AlertReason.Code
valueOf(String name)
Returns the enum constant of this type with the specified name.static AlertReason.Code[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UE_PRESENT
public static final AlertReason.Code UE_PRESENT
-
UE_MEMORY_AVAILABLE
public static final AlertReason.Code UE_MEMORY_AVAILABLE
-
-
Method Detail
-
values
public static AlertReason.Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlertReason.Code c : AlertReason.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlertReason.Code valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()
-
-