Enum Constant and Description |
---|
CHECK_VERSION
Check the version during updates,
If the version on the server is newer
than the local one, the document is not updated
and an error is returned instead
|
IGNORE_VERSION
Ignore the version during updates,
documents on the server are overwritten by the local
one that is sent.
|
Modifier and Type | Method and Description |
---|---|
static SaveMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SaveMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaveMode IGNORE_VERSION
public static final SaveMode CHECK_VERSION
public static SaveMode[] values()
for (SaveMode c : SaveMode.values()) System.out.println(c);
public static SaveMode 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