Package com.dropbox.core.v2.files
Enum RelocationError.Tag
- java.lang.Object
-
- java.lang.Enum<RelocationError.Tag>
-
- com.dropbox.core.v2.files.RelocationError.Tag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RelocationError.Tag>
- Enclosing class:
- RelocationError
public static enum RelocationError.Tag extends java.lang.Enum<RelocationError.Tag>
Discriminating tag type forRelocationError
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANT_COPY_SHARED_FOLDER
Shared folders can't be copied.CANT_MOVE_FOLDER_INTO_ITSELF
You cannot move a folder into itself.CANT_MOVE_INTO_FAMILY
Some content cannot be moved into the Family Room folder under certain circumstances, see detailed error.CANT_MOVE_INTO_VAULT
Some content cannot be moved into Vault under certain circumstances, see detailed error.CANT_MOVE_SHARED_FOLDER
Can't move the shared folder to the given destination.CANT_NEST_SHARED_FOLDER
Your move operation would result in nested shared folders.CANT_TRANSFER_OWNERSHIP
Your move operation would result in an ownership transfer.DUPLICATED_OR_NESTED_PATHS
There are duplicated/nested paths amongRelocationPath.getFromPath()
andRelocationPath.getToPath()
.FROM_LOOKUP
FROM_WRITE
INSUFFICIENT_QUOTA
The current user does not have enough space to move or copy the files.INTERNAL_ERROR
Something went wrong with the job on Dropbox's end.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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RelocationError.Tag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RelocationError.Tag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FROM_LOOKUP
public static final RelocationError.Tag FROM_LOOKUP
-
FROM_WRITE
public static final RelocationError.Tag FROM_WRITE
-
TO
public static final RelocationError.Tag TO
-
CANT_COPY_SHARED_FOLDER
public static final RelocationError.Tag CANT_COPY_SHARED_FOLDER
Shared folders can't be copied.
-
CANT_NEST_SHARED_FOLDER
public static final RelocationError.Tag CANT_NEST_SHARED_FOLDER
Your move operation would result in nested shared folders. This is not allowed.
-
CANT_MOVE_FOLDER_INTO_ITSELF
public static final RelocationError.Tag CANT_MOVE_FOLDER_INTO_ITSELF
You cannot move a folder into itself.
-
TOO_MANY_FILES
public static final RelocationError.Tag TOO_MANY_FILES
The operation would involve more than 10,000 files and folders.
-
DUPLICATED_OR_NESTED_PATHS
public static final RelocationError.Tag DUPLICATED_OR_NESTED_PATHS
There are duplicated/nested paths amongRelocationPath.getFromPath()
andRelocationPath.getToPath()
.
-
CANT_TRANSFER_OWNERSHIP
public static final RelocationError.Tag CANT_TRANSFER_OWNERSHIP
Your move operation would result in an ownership transfer. You may reissue the request with the fieldRelocationArg.getAllowOwnershipTransfer()
to true.
-
INSUFFICIENT_QUOTA
public static final RelocationError.Tag INSUFFICIENT_QUOTA
The current user does not have enough space to move or copy the files.
-
INTERNAL_ERROR
public static final RelocationError.Tag INTERNAL_ERROR
Something went wrong with the job on Dropbox's end. You'll need to verify that the action you were taking succeeded, and if not, try again. This should happen very rarely.
-
CANT_MOVE_SHARED_FOLDER
public static final RelocationError.Tag CANT_MOVE_SHARED_FOLDER
Can't move the shared folder to the given destination.
-
CANT_MOVE_INTO_VAULT
public static final RelocationError.Tag CANT_MOVE_INTO_VAULT
Some content cannot be moved into Vault under certain circumstances, see detailed error.
-
CANT_MOVE_INTO_FAMILY
public static final RelocationError.Tag CANT_MOVE_INTO_FAMILY
Some content cannot be moved into the Family Room folder under certain circumstances, see detailed error.
-
OTHER
public static final RelocationError.Tag OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.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.
-
-
Method Detail
-
values
public static RelocationError.Tag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RelocationError.Tag c : RelocationError.Tag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelocationError.Tag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-