public static enum RelocationBatchError.Tag extends Enum<RelocationBatchError.Tag>
RelocationBatchError
.Enum Constant and Description |
---|
CANT_COPY_SHARED_FOLDER
Shared folders can't be copied.
|
CANT_MOVE_FOLDER_INTO_ITSELF
You cannot move a folder into itself.
|
CANT_NEST_SHARED_FOLDER
Your move operation would result in nested shared folders.
|
DUPLICATED_OR_NESTED_PATHS
There are duplicated/nested paths among
RelocationArg.getFromPath() and RelocationArg.getToPath() . |
FROM_LOOKUP |
FROM_WRITE |
OTHER
Catch-all used for unknown tag values returned by the Dropbox
servers.
|
TO |
TOO_MANY_FILES
The operation would involve more than 10,000 files and folders.
|
TOO_MANY_WRITE_OPERATIONS
There are too many write operations in user's Dropbox.
|
Modifier and Type | Method and Description |
---|---|
static RelocationBatchError.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelocationBatchError.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelocationBatchError.Tag FROM_LOOKUP
public static final RelocationBatchError.Tag FROM_WRITE
public static final RelocationBatchError.Tag TO
public static final RelocationBatchError.Tag CANT_COPY_SHARED_FOLDER
public static final RelocationBatchError.Tag CANT_NEST_SHARED_FOLDER
public static final RelocationBatchError.Tag CANT_MOVE_FOLDER_INTO_ITSELF
public static final RelocationBatchError.Tag TOO_MANY_FILES
public static final RelocationBatchError.Tag OTHER
Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.
public static final RelocationBatchError.Tag DUPLICATED_OR_NESTED_PATHS
RelocationArg.getFromPath()
and RelocationArg.getToPath()
.public static final RelocationBatchError.Tag TOO_MANY_WRITE_OPERATIONS
public static RelocationBatchError.Tag[] values()
for (RelocationBatchError.Tag c : RelocationBatchError.Tag.values()) System.out.println(c);
public static RelocationBatchError.Tag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null