public static enum ValidatorUtil.Occurrence extends Enum<ValidatorUtil.Occurrence>
Enum Constant and Description |
---|
AT_LEAST
At least the specified number of messages exists.
|
AT_MOST
At most the specified number of messages exists.
|
EXACTLY
Exactly the specified number of messages exists.
|
NONE
None such message exists.
|
Modifier and Type | Method and Description |
---|---|
static ValidatorUtil.Occurrence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidatorUtil.Occurrence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidatorUtil.Occurrence NONE
public static final ValidatorUtil.Occurrence AT_LEAST
public static final ValidatorUtil.Occurrence AT_MOST
public static final ValidatorUtil.Occurrence EXACTLY
public static ValidatorUtil.Occurrence[] values()
for (ValidatorUtil.Occurrence c : ValidatorUtil.Occurrence.values()) System.out.println(c);
public static ValidatorUtil.Occurrence 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 nullCopyright © 2010–2017 PerfCake Community. All rights reserved.