public static enum PropertyKey.ConsistencyCheckLevel extends Enum<PropertyKey.ConsistencyCheckLevel>
Enum Constant and Description |
---|
ENFORCE
Check consistency of property value, show error of inconsistent values.
|
IGNORE
Do not check consistency of property value.
|
WARN
Check consistency of property value, show warning of inconsistent values.
|
Modifier and Type | Method and Description |
---|---|
static PropertyKey.ConsistencyCheckLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyKey.ConsistencyCheckLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyKey.ConsistencyCheckLevel IGNORE
public static final PropertyKey.ConsistencyCheckLevel WARN
public static final PropertyKey.ConsistencyCheckLevel ENFORCE
public static PropertyKey.ConsistencyCheckLevel[] values()
for (PropertyKey.ConsistencyCheckLevel c : PropertyKey.ConsistencyCheckLevel.values()) System.out.println(c);
public static PropertyKey.ConsistencyCheckLevel 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 © 2023. All Rights Reserved.