public static enum NodeNameValidatorDefinition.Mode extends Enum<NodeNameValidatorDefinition.Mode>
Enum Constant and Description |
---|
ADD
Validator is used when add new item, same name siblings are therefore look for among children of currently selected node.
|
EDIT
Validator is used when editing item name, same name siblings are therefore look for among siblings.
|
Modifier and Type | Method and Description |
---|---|
static NodeNameValidatorDefinition.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeNameValidatorDefinition.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeNameValidatorDefinition.Mode EDIT
public static final NodeNameValidatorDefinition.Mode ADD
public static NodeNameValidatorDefinition.Mode[] values()
for (NodeNameValidatorDefinition.Mode c : NodeNameValidatorDefinition.Mode.values()) System.out.println(c);
public static NodeNameValidatorDefinition.Mode 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 © 2021 Magnolia International Ltd.. All rights reserved.