Package org.openwebnet4j.message
Enum GatewayMgmt.WHAT
- java.lang.Object
-
- java.lang.Enum<GatewayMgmt.WHAT>
-
- org.openwebnet4j.message.GatewayMgmt.WHAT
-
- All Implemented Interfaces:
Serializable
,Comparable<GatewayMgmt.WHAT>
,What
- Enclosing class:
- GatewayMgmt
public static enum GatewayMgmt.WHAT extends Enum<GatewayMgmt.WHAT> implements What
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOT_MODE
CLOSE_NETWORK
CREATE_NETWORK
JOIN_NETWORK
KEEP_CONNECT
LEAVE_NETWORK
OPEN_NETWORK
RESET_DEVICE
SCAN
SUPERVISOR
TEST
-
Field Summary
-
Fields inherited from interface org.openwebnet4j.message.What
WHAT_COMMAND_TRANSLATION
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GatewayMgmt.WHAT
fromValue(int i)
Integer
value()
static GatewayMgmt.WHAT
valueOf(String name)
Returns the enum constant of this type with the specified name.static GatewayMgmt.WHAT[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOT_MODE
public static final GatewayMgmt.WHAT BOOT_MODE
-
RESET_DEVICE
public static final GatewayMgmt.WHAT RESET_DEVICE
-
CREATE_NETWORK
public static final GatewayMgmt.WHAT CREATE_NETWORK
-
CLOSE_NETWORK
public static final GatewayMgmt.WHAT CLOSE_NETWORK
-
OPEN_NETWORK
public static final GatewayMgmt.WHAT OPEN_NETWORK
-
JOIN_NETWORK
public static final GatewayMgmt.WHAT JOIN_NETWORK
-
LEAVE_NETWORK
public static final GatewayMgmt.WHAT LEAVE_NETWORK
-
KEEP_CONNECT
public static final GatewayMgmt.WHAT KEEP_CONNECT
-
SCAN
public static final GatewayMgmt.WHAT SCAN
-
SUPERVISOR
public static final GatewayMgmt.WHAT SUPERVISOR
-
TEST
public static final GatewayMgmt.WHAT TEST
-
-
Method Detail
-
values
public static GatewayMgmt.WHAT[] 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 (GatewayMgmt.WHAT c : GatewayMgmt.WHAT.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GatewayMgmt.WHAT 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
-
fromValue
public static GatewayMgmt.WHAT fromValue(int i)
-
-