public enum ContextTypes extends java.lang.Enum<ContextTypes>
| Enum Constant and Description |
|---|
DEPLOYMENT |
NAMESPACE |
PERSISTENT_VOLUME_CLAIM |
SERVICE |
STATEFUL_SET |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateGroupId(java.lang.String id) |
static ContextTypes |
getContextType(java.lang.String groupId) |
static java.lang.String |
getGroupId(java.lang.String key) |
java.lang.String |
getId(java.lang.String groupId) |
static ContextTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContextTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextTypes NAMESPACE
public static final ContextTypes PERSISTENT_VOLUME_CLAIM
public static final ContextTypes SERVICE
public static final ContextTypes DEPLOYMENT
public static final ContextTypes STATEFUL_SET
public static final ContextTypes UNKNOWN
public static ContextTypes[] values()
for (ContextTypes c : ContextTypes.values()) System.out.println(c);
public static ContextTypes 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 static ContextTypes getContextType(java.lang.String groupId)
public static java.lang.String getGroupId(java.lang.String key)
public java.lang.String getId(java.lang.String groupId)
public java.lang.String generateGroupId(java.lang.String id)