public static enum ValidatorUtil.MessagePart extends Enum<ValidatorUtil.MessagePart>
Enum Constant and Description |
---|
BODY
Message body as a whole.
|
HEADER
Message header.
|
PROPERTY
Message property.
|
Modifier and Type | Method and Description |
---|---|
static ValidatorUtil.MessagePart |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidatorUtil.MessagePart[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidatorUtil.MessagePart BODY
public static final ValidatorUtil.MessagePart PROPERTY
public static final ValidatorUtil.MessagePart HEADER
public static ValidatorUtil.MessagePart[] values()
for (ValidatorUtil.MessagePart c : ValidatorUtil.MessagePart.values()) System.out.println(c);
public static ValidatorUtil.MessagePart 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.