public enum ManagementKey extends Enum<ManagementKey>
| Enum Constant and Description |
|---|
HOST_ACKNOWLEDGEMENT |
HOST_REGISTRATION |
NACK |
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
MANAGEMENT_KEY_SET |
static ManagementKey[] |
MANAGEMENT_KEYS |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
static boolean |
isManagementKey(String key) |
static ManagementKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManagementKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagementKey HOST_REGISTRATION
public static final ManagementKey HOST_ACKNOWLEDGEMENT
public static final ManagementKey NACK
public static final ManagementKey[] MANAGEMENT_KEYS
public static ManagementKey[] values()
for (ManagementKey c : ManagementKey.values()) System.out.println(c);
public static ManagementKey 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 String getKey()
public static boolean isManagementKey(String key)
Copyright © 2018. All rights reserved.