public enum Restore extends Enum<Restore>
| Enum Constant and Description |
|---|
DEFAULT
OLD_VALUE, NO_RESTORE or NULL_VALUE as defined by the default value in the configuration.
|
NO_RESTORE
Leave the injected field
|
NULL_OR_0_VALUE
Set the injected field to the null or 0 value
|
OLD_VALUE
Reset the injected field back to its original value
|
| Modifier and Type | Method and Description |
|---|---|
static Restore |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Restore[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Restore DEFAULT
public static final Restore OLD_VALUE
public static final Restore NO_RESTORE
public static final Restore NULL_OR_0_VALUE
public static Restore[] values()
for (Restore c : Restore.values()) System.out.println(c);
public static Restore 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 © 2016. All Rights Reserved.