Package org.apache.plc4x.java.s7.events
Enum S7ModeEvent.Fields
- java.lang.Object
-
- java.lang.Enum<S7ModeEvent.Fields>
-
- org.apache.plc4x.java.s7.events.S7ModeEvent.Fields
-
- All Implemented Interfaces:
Serializable,Comparable<S7ModeEvent.Fields>
- Enclosing class:
- S7ModeEvent
public static enum S7ModeEvent.Fields extends Enum<S7ModeEvent.Fields>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static S7ModeEvent.FieldsvalueOf(String name)Returns the enum constant of this type with the specified name.static S7ModeEvent.Fields[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIMESTAMP
public static final S7ModeEvent.Fields TIMESTAMP
-
TYPE
public static final S7ModeEvent.Fields TYPE
-
MAP
public static final S7ModeEvent.Fields MAP
-
METHOD
public static final S7ModeEvent.Fields METHOD
-
FUNCTION
public static final S7ModeEvent.Fields FUNCTION
-
CURRENT_MODE
public static final S7ModeEvent.Fields CURRENT_MODE
-
-
Method Detail
-
values
public static S7ModeEvent.Fields[] 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 (S7ModeEvent.Fields c : S7ModeEvent.Fields.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static S7ModeEvent.Fields 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
-
-