public enum GatewayStatus extends Enum<GatewayStatus>
Enum Constant and Description |
---|
ACTIVE
Active.
|
NO_VALUE
Identifies no value.
|
STANDBY
Standby.
|
Modifier and Type | Method and Description |
---|---|
static GatewayStatus |
forValue(byte value) |
byte |
getValue() |
static GatewayStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GatewayStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GatewayStatus NO_VALUE
public static final GatewayStatus STANDBY
public static final GatewayStatus ACTIVE
public static GatewayStatus[] values()
for (GatewayStatus c : GatewayStatus.values()) System.out.println(c);
public static GatewayStatus 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 byte getValue()
public static GatewayStatus forValue(byte value)
Copyright © 2012–2024 Onix Solutions. All rights reserved.