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