public enum SetEventType extends Enum<SetEventType> implements IEventType
ADD_TO_KER
: value enforcing event,REMOVE_FROM_ENVELOPE
: value removal event,Enum Constant and Description |
---|
ADD_TO_KER |
REMOVE_FROM_ENVELOPE |
VOID |
ALL_EVENTS
Modifier and Type | Method and Description |
---|---|
static int |
all() |
int |
getMask()
Return the value of the mask associated with the event.
|
static boolean |
isEnvRemoval(int mask) |
static boolean |
isKerAddition(int mask) |
static SetEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SetEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetEventType VOID
public static final SetEventType ADD_TO_KER
public static final SetEventType REMOVE_FROM_ENVELOPE
public static SetEventType[] values()
for (SetEventType c : SetEventType.values()) System.out.println(c);
public static SetEventType 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 nullpublic int getMask()
IEventType
getMask
in interface IEventType
public static int all()
public static boolean isKerAddition(int mask)
public static boolean isEnvRemoval(int mask)
Copyright © 2018. All rights reserved.