public static enum DbxTable.ResolutionRule extends java.lang.Enum<DbxTable.ResolutionRule>
DbxTable.setResolutionRule(java.lang.String, com.dropbox.sync.android.DbxTable.ResolutionRule)
.Enum Constant and Description |
---|
LOCAL
Resolves conflicts by selecting the local change on this client.
|
MAX
Resolves conflicts by selecting the largest value, based on type-specific
ordering, described in
DbxFields.ValueType . |
MIN
Resolves conflicts by selecting the smallest value, based on type-specific
ordering, described in
DbxFields.ValueType . |
REMOTE
Resolves conflicts by selecting the remote change from the Dropbox server.
|
SUM
Resolves conflicts by calculating a value such that all additions to or subtractions
from a numerical value are preserved and combined.
|
Modifier and Type | Method and Description |
---|---|
static DbxTable.ResolutionRule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DbxTable.ResolutionRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbxTable.ResolutionRule REMOTE
public static final DbxTable.ResolutionRule LOCAL
public static final DbxTable.ResolutionRule MAX
DbxFields.ValueType
.public static final DbxTable.ResolutionRule MIN
DbxFields.ValueType
.public static final DbxTable.ResolutionRule SUM
For non-numerical values this resolution rule behaves as REMOTE
.
public static DbxTable.ResolutionRule[] values()
for (DbxTable.ResolutionRule c : DbxTable.ResolutionRule.values()) System.out.println(c);
public static DbxTable.ResolutionRule 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