static enum MatchPattern.MatchResultCode extends Enum<MatchPattern.MatchResultCode>
Enum Constant and Description |
---|
ALREADY_USED |
NAMED_VALUE_MISMATCH |
NOT_IN_BLOCK |
NOT_SAFE |
OK |
TOO_MANY_USERS |
WRONG_CLASS |
Modifier and Type | Method and Description |
---|---|
static MatchPattern.MatchResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchPattern.MatchResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchPattern.MatchResultCode OK
public static final MatchPattern.MatchResultCode WRONG_CLASS
public static final MatchPattern.MatchResultCode NAMED_VALUE_MISMATCH
public static final MatchPattern.MatchResultCode TOO_MANY_USERS
public static final MatchPattern.MatchResultCode NOT_IN_BLOCK
public static final MatchPattern.MatchResultCode NOT_SAFE
public static final MatchPattern.MatchResultCode ALREADY_USED
public static MatchPattern.MatchResultCode[] values()
for (MatchPattern.MatchResultCode c : MatchPattern.MatchResultCode.values()) System.out.println(c);
public static MatchPattern.MatchResultCode 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 null