public enum DataType extends java.lang.Enum<DataType>
Enum
representing the 3 different types
a DataEntry
can be of.Enum Constant and Description |
---|
ANY
Signals, that the data's type does not matter.
|
EVENT
Defines the data to be of type
DataEvent . |
SIGNAL
Defines the data to be of type
DataSignal . |
UNKNOWN
Signals, that produced data is not definable.
|
VALUE
Defines the data to be of type
DataValue . |
Modifier and Type | Method and Description |
---|---|
static DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType SIGNAL
DataSignal
.public static final DataType ANY
AbstractSink
's DataDescription
to
define that any DataType
can be used.public static final DataType UNKNOWN
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null