public static enum SyncOptions.OpenMode extends java.lang.Enum<SyncOptions.OpenMode>
| Enum Constant and Description |
|---|
CREATE_NEW
Create new object only if specified unique name is not in use
|
OPEN_EXISTING
Open existing object by SID or unique name
|
OPEN_OR_CREATE
Open existing object by unique name or create a new one if specified name does not exist
|
| Modifier and Type | Method and Description |
|---|---|
static SyncOptions.OpenMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SyncOptions.OpenMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncOptions.OpenMode OPEN_OR_CREATE
public static final SyncOptions.OpenMode OPEN_EXISTING
public static final SyncOptions.OpenMode CREATE_NEW
public static SyncOptions.OpenMode[] values()
for (SyncOptions.OpenMode c : SyncOptions.OpenMode.values()) System.out.println(c);
public static SyncOptions.OpenMode 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