public static enum ConditionMessage.Style extends java.lang.Enum<ConditionMessage.Style>
| Enum Constant and Description |
|---|
NORMAL
Render with normal styling.
|
QUOTE
Render with the item surrounded by quotes.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<?> |
applyTo(java.util.Collection<?> items) |
protected abstract java.lang.Object |
applyToItem(java.lang.Object item) |
static ConditionMessage.Style |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConditionMessage.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConditionMessage.Style NORMAL
public static final ConditionMessage.Style QUOTE
public static ConditionMessage.Style[] values()
for (ConditionMessage.Style c : ConditionMessage.Style.values()) System.out.println(c);
public static ConditionMessage.Style 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 nullpublic java.util.Collection<?> applyTo(java.util.Collection<?> items)
protected abstract java.lang.Object applyToItem(java.lang.Object item)