public enum MementoCopyMode extends java.lang.Enum<MementoCopyMode>
Enum Constant and Description |
---|
AUTO
|
LOCAL
Use items currently managed at this node
|
REMOTE
Use items as stored in the remote persistence store
|
Modifier and Type | Method and Description |
---|---|
static MementoCopyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MementoCopyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MementoCopyMode LOCAL
public static final MementoCopyMode REMOTE
public static final MementoCopyMode AUTO
public static MementoCopyMode[] values()
for (MementoCopyMode c : MementoCopyMode.values()) System.out.println(c);
public static MementoCopyMode 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