Enum Constant and Description |
---|
UNRECOGNIZED_FLAG_PRESENT
The value sent by the plugin service was at least partially unrecognized indicating an upgrade of the PCC may be required to handle the value.
|
WAS_BUFFERED
The event was buffered indicating it was not received in real time.
|
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<EventFlag> |
getEventFlagsFromLong(long longValue)
Gets the set of flags contained in the given value
|
static long |
getLongFromEventFlags(java.util.EnumSet<EventFlag> eventFlags)
Converts a set of flags to the equivalent raw long value
|
long |
getLongValue()
Convert enum to equivalent long value.
|
static EventFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventFlag UNRECOGNIZED_FLAG_PRESENT
public static final EventFlag WAS_BUFFERED
public static EventFlag[] values()
for (EventFlag c : EventFlag.values()) System.out.println(c);
public static EventFlag 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 nullpublic long getLongValue()
public static java.util.EnumSet<EventFlag> getEventFlagsFromLong(long longValue)
longValue
- raw long value containing flagspublic static long getLongFromEventFlags(java.util.EnumSet<EventFlag> eventFlags)
eventFlags
- set of flags to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.