public static enum ConditionMessage.Style extends 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 |
---|---|
Collection<?> |
applyTo(Collection<?> items) |
protected abstract Object |
applyToItem(Object item) |
static ConditionMessage.Style |
valueOf(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(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 nullpublic Collection<?> applyTo(Collection<?> items)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.