public enum AckType extends Enum<AckType>
AckType class.
Enum Constant and Description |
---|
ALARM |
NOTIFICATION |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
static AckType |
get(int id)
get
|
String |
toString() |
static AckType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AckType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AckType UNSPECIFIED
public static final AckType ALARM
public static final AckType NOTIFICATION
public static AckType[] values()
for (AckType c : AckType.values()) System.out.println(c);
public static AckType 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 © 2017. All rights reserved.