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