public static enum EZConstants.EZMessageType extends java.lang.Enum<EZConstants.EZMessageType>
Enum Constant and Description |
---|
EZMessageTypeAlarm |
EZMessageTypeLeave |
Modifier and Type | Method and Description |
---|---|
int |
getMessageType() |
static EZConstants.EZMessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EZConstants.EZMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EZConstants.EZMessageType EZMessageTypeAlarm
public static final EZConstants.EZMessageType EZMessageTypeLeave
public static EZConstants.EZMessageType[] values()
for (EZConstants.EZMessageType c : EZConstants.EZMessageType.values()) System.out.println(c);
public static EZConstants.EZMessageType 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 int getMessageType()