public static enum Node.ParenMode extends Enum<Node.ParenMode>
Enum Constant and Description |
---|
ALWAYS
Always encapsulate
|
DEFAULT
Determine encapsulation based on number of children.
|
NEVER
Never encapsulate.
|
Modifier and Type | Method and Description |
---|---|
static Node.ParenMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Node.ParenMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Node.ParenMode ALWAYS
public static final Node.ParenMode NEVER
@foo:(val1|val2)
. However something like @foo:v1 @bar:v2
need not be parenthesized.public static final Node.ParenMode DEFAULT
public static Node.ParenMode[] values()
for (Node.ParenMode c : Node.ParenMode.values()) System.out.println(c);
public static Node.ParenMode 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 RedisLabs. All rights reserved.