Package org.openwebnet4j.message
Enum EnergyManagement.WHAT
- java.lang.Object
-
- java.lang.Enum<EnergyManagement.WHAT>
-
- org.openwebnet4j.message.EnergyManagement.WHAT
-
- All Implemented Interfaces:
Serializable
,Comparable<EnergyManagement.WHAT>
,What
- Enclosing class:
- EnergyManagement
public static enum EnergyManagement.WHAT extends Enum<EnergyManagement.WHAT> implements What
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATIC_RESET_OFF
AUTOMATIC_RESET_ON
-
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 EnergyManagement.WHAT
fromValue(int i)
Integer
value()
static EnergyManagement.WHAT
valueOf(String name)
Returns the enum constant of this type with the specified name.static EnergyManagement.WHAT[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATIC_RESET_ON
public static final EnergyManagement.WHAT AUTOMATIC_RESET_ON
-
AUTOMATIC_RESET_OFF
public static final EnergyManagement.WHAT AUTOMATIC_RESET_OFF
-
-
Method Detail
-
values
public static EnergyManagement.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 (EnergyManagement.WHAT c : EnergyManagement.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 EnergyManagement.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 EnergyManagement.WHAT fromValue(int i)
-
-