public enum PlaceholderPolicy extends Enum<PlaceholderPolicy>
Enum Constant and Description |
---|
ALLOW
Allow placeholders in the value.
|
DEFAULT
Default policy defined by the property type.
|
DENY
Do not allow a placeholder in the value.
|
REQUIRE
Require a placeholder in the value.
|
Modifier and Type | Method and Description |
---|---|
static PlaceholderPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlaceholderPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlaceholderPolicy DEFAULT
public static final PlaceholderPolicy ALLOW
public static final PlaceholderPolicy REQUIRE
public static final PlaceholderPolicy DENY
public static PlaceholderPolicy[] values()
for (PlaceholderPolicy c : PlaceholderPolicy.values()) System.out.println(c);
public static PlaceholderPolicy 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 © 2007–2021 The Apache Software Foundation. All rights reserved.