@Generated(value="com.neeve.adm.AdmEnumeration", date="Fri Dec 05 11:53:59 EST 2025") @AdmGenerated(compatLevel="4.1.0", admVersion="Unknown Version", date="12/5/25 11:53 AM", buildInfo="nvx-eagle-2.9-SNAPSHOT Json Encoding") public enum AlertSeverity extends Enum<AlertSeverity>
| Enum Constant and Description |
|---|
Info
The 'Info' type.
|
Severe
The 'Severe' type.
|
Unknown
The 'Unknown' type.
|
Warning
The 'Warning' type.
|
| Modifier and Type | Field and Description |
|---|---|
static AlertSeverity[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays.
|
int |
val |
static List<AlertSeverity> |
VALUES
A zero garbage alternative to
values(). |
| Modifier and Type | Method and Description |
|---|---|
static AlertSeverity |
fromCode(int code)
Gets the value corresponding to the provided int 'code' value.
|
static AlertSeverity |
fromCodeString(String value)
Gets the value corresponding to the provided 'code' value in its String form.
|
static AlertSeverity |
fromValue(int val)
Gets the value corresponding to the provided 'constant' value.
|
String |
getCodeString()
Gets the code value for this enumeration as a String.
|
static Class<?> |
getCodeType()
Gets the code type with which this enumeration was generated.
|
static boolean |
hasValue(int val)
Tests if the passed in value represents a 'constant' in this enumeration.
|
static AlertSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertSeverity Unknown
public static final AlertSeverity Info
public static final AlertSeverity Warning
public static final AlertSeverity Severe
public static final List<AlertSeverity> VALUES
values().public static final AlertSeverity[] EMPTY_ARRAY
public final int val
public static AlertSeverity[] values()
for (AlertSeverity c : AlertSeverity.values()) System.out.println(c);
public static 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 nullpublic static final boolean hasValue(int val)
val - The value to test for.public static final AlertSeverity fromValue(int val)
val - The 'constant' value to look up.IllegalArgumentException - if the provided code is not a valid code for this enumpublic static final AlertSeverity fromCode(int code)
code - The int 'code' value to look up.IllegalArgumentException - if the provided code is not a valid code for this enumpublic static final AlertSeverity fromCodeString(String value)
value - The String 'code' value to look up.IllegalArgumentException - if the provided code is not a valid code for this enumpublic static final Class<?> getCodeType()
public final String getCodeString()
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.