public static enum DataEvent.Type extends Enum<DataEvent.Type>
Enum Constant and Description |
---|
DATA_UPDATED
For data that has already been sent but needs to be updated.
(e.g. |
NEW_DATA_AVAILABLE
New data is available from a sensor or process
|
Modifier and Type | Method and Description |
---|---|
static DataEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataEvent.Type NEW_DATA_AVAILABLE
public static final DataEvent.Type DATA_UPDATED
public static DataEvent.Type[] values()
for (DataEvent.Type c : DataEvent.Type.values()) System.out.println(c);
public static DataEvent.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015 Sensia Software LLC. All rights reserved.