public static enum ConfigSpec.CorrectionAction extends java.lang.Enum<ConfigSpec.CorrectionAction>
| Enum Constant and Description |
|---|
ADD
Means that the value was added to the config.
|
REMOVE
Means that the value was removed from the config.
|
REPLACE
Means that the value was replaced.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigSpec.CorrectionAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigSpec.CorrectionAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigSpec.CorrectionAction ADD
incorrectValue is
null.public static final ConfigSpec.CorrectionAction REPLACE
incorrectValue and/or correctedValue may be null.public static final ConfigSpec.CorrectionAction REMOVE
correctedValue is
null.public static ConfigSpec.CorrectionAction[] values()
for (ConfigSpec.CorrectionAction c : ConfigSpec.CorrectionAction.values()) System.out.println(c);
public static ConfigSpec.CorrectionAction 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