@Generated(value="com.neeve.adm.AdmEnumeration", date="Fri Dec 05 13:32:50 UTC 2025") @AdmGenerated(compatLevel="4.1.0", admVersion="Unknown Version", date="12/5/25 1:32 PM", buildInfo="nvx-talon-3.16.63 (nvx-codegen-plugin)") public enum SrvMonGaugeType extends Enum<SrvMonGaugeType>
Inidicates the type of a Gauge stat. This is used to tell which accessor on a SrvMonGaugeStat to call to get the gauge value.
| Enum Constant and Description |
|---|
BOOLEAN
Indicates that a Gauge reports a boolean type.
|
BYTE
Indicates that a Gauge is of byte type.
|
CHAR
Indicates that a Gauge is of char type.
|
DOUBLE
Indicates that a Gauge is of double type.
|
FLOAT
Indicates that a Gauge is of float type.
|
INT
Indicates that a Gauge is of int type.
|
LONG
Indicates that a Gauge is of long type.
|
SHORT
Indicates that a Gauge is of short type.
|
STRING
Indicates that a Gauge is of String type.
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonGaugeType[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays.
|
int |
val |
static List<SrvMonGaugeType> |
VALUES
A zero garbage alternative to
values(). |
| Modifier and Type | Method and Description |
|---|---|
static SrvMonGaugeType |
fromCode(int code)
Gets the value corresponding to the provided int 'code' value.
|
static SrvMonGaugeType |
fromCodeString(String value)
Gets the value corresponding to the provided 'code' value in its String form.
|
static SrvMonGaugeType |
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 SrvMonGaugeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SrvMonGaugeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SrvMonGaugeType BOOLEAN
public static final SrvMonGaugeType BYTE
public static final SrvMonGaugeType CHAR
public static final SrvMonGaugeType SHORT
public static final SrvMonGaugeType INT
public static final SrvMonGaugeType LONG
public static final SrvMonGaugeType FLOAT
public static final SrvMonGaugeType DOUBLE
public static final SrvMonGaugeType STRING
public static final List<SrvMonGaugeType> VALUES
values().public static final SrvMonGaugeType[] EMPTY_ARRAY
public final int val
public static SrvMonGaugeType[] values()
for (SrvMonGaugeType c : SrvMonGaugeType.values()) System.out.println(c);
public static SrvMonGaugeType 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 SrvMonGaugeType 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 SrvMonGaugeType 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 SrvMonGaugeType 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 © 2019 Neeve Research, LLC. All Rights Reserved.