public enum SyncFlag extends java.lang.Enum<SyncFlag>
CLOUD_FIRST
or CLOUD_ONLY
operation modes.Enum Constant and Description |
---|
LIST_READ_THROUGH
Changes in a remote list (adding and removing of objects) on Gluon CloudLink
are reflected to the local copy of that list.
|
LIST_WRITE_THROUGH
Changes in a local list (adding and removing of objects) are reflected to
the remote copy of that list on Gluon CloudLink.
|
OBJECT_READ_THROUGH
Changes on remote objects and objects in remote lists on Gluon CloudLink are
reflected to the local copy of these objects.
|
OBJECT_WRITE_THROUGH
Changes on local objects and objects in local lists are reflected to the
remote copy of these objects on Gluon CloudLink.
|
Modifier and Type | Method and Description |
---|---|
static SyncFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SyncFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncFlag OBJECT_READ_THROUGH
public static final SyncFlag OBJECT_WRITE_THROUGH
public static final SyncFlag LIST_READ_THROUGH
public static final SyncFlag LIST_WRITE_THROUGH
public static SyncFlag[] values()
for (SyncFlag c : SyncFlag.values()) System.out.println(c);
public static SyncFlag 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