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