Package org.openmuc.jeebus.spine.api
Enum DataUpdateType
- java.lang.Object
-
- java.lang.Enum<DataUpdateType>
-
- org.openmuc.jeebus.spine.api.DataUpdateType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DataUpdateType>
public enum DataUpdateType extends java.lang.Enum<DataUpdateType>
The type for which a listener is called.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_DATAA full write adds a new data entry.DELETE_DATAA delete write command with SELECTORS (without ELEMENTS) that fully deleted a list entry.UPDATE_DATAA Partial write command, a full write for existent data or a delete command with set ELEMENTS.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataUpdateTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataUpdateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPDATE_DATA
public static final DataUpdateType UPDATE_DATA
A Partial write command, a full write for existent data or a delete command with set ELEMENTS.
-
DELETE_DATA
public static final DataUpdateType DELETE_DATA
A delete write command with SELECTORS (without ELEMENTS) that fully deleted a list entry.
-
ADD_DATA
public static final DataUpdateType ADD_DATA
A full write adds a new data entry.
-
-
Method Detail
-
values
public static DataUpdateType[] 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 (DataUpdateType c : DataUpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataUpdateType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-