public enum AdminKeyKind extends Enum<AdminKeyKind>
| Enum Constant and Description |
|---|
PRIMARY
Enum value primary.
|
SECONDARY
Enum value secondary.
|
| Modifier and Type | Method and Description |
|---|---|
static AdminKeyKind |
fromString(String value)
Parses a serialized value to a AdminKeyKind instance.
|
String |
toString() |
static AdminKeyKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdminKeyKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdminKeyKind PRIMARY
public static final AdminKeyKind SECONDARY
public static AdminKeyKind[] values()
for (AdminKeyKind c : AdminKeyKind.values()) System.out.println(c);
public static AdminKeyKind 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 static AdminKeyKind fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<AdminKeyKind>Copyright © 2019. All rights reserved.