public static enum TemplateValidator.TemplateType extends java.lang.Enum<TemplateValidator.TemplateType>
| Enum Constant and Description |
|---|
SIMPLE
Template with
multiStep = false (default). |
STEPPABLE
Template with
multiStep = true. |
| Modifier and Type | Method and Description |
|---|---|
static TemplateValidator.TemplateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TemplateValidator.TemplateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateValidator.TemplateType SIMPLE
multiStep = false (default).
Uses apply/rollback fields.public static final TemplateValidator.TemplateType STEPPABLE
multiStep = true.
Uses steps field.public static TemplateValidator.TemplateType[] values()
for (TemplateValidator.TemplateType c : TemplateValidator.TemplateType.values()) System.out.println(c);
public static TemplateValidator.TemplateType 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 null