Package com.dropbox.core.v2.sharing
Enum SharePathError.Tag
- java.lang.Object
-
- java.lang.Enum<SharePathError.Tag>
-
- com.dropbox.core.v2.sharing.SharePathError.Tag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SharePathError.Tag>
- Enclosing class:
- SharePathError
public static enum SharePathError.Tag extends java.lang.Enum<SharePathError.Tag>
Discriminating tag type forSharePathError
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALREADY_SHARED
Folder is already shared.CONTAINS_APP_FOLDER
We do not support shared folders that contain app folders.CONTAINS_SHARED_FOLDER
We do not support shared folders that contain shared folders.CONTAINS_TEAM_FOLDER
We do not support shared folders that contain team folders.INSIDE_APP_FOLDER
We do not support sharing a folder inside an app folder.INSIDE_OSX_PACKAGE
We do not support sharing a folder inside a Mac OS X package.INSIDE_PUBLIC_FOLDER
A folder inside a public folder can't be shared this way.INSIDE_SHARED_FOLDER
We do not support sharing a folder inside a shared folder.INVALID_PATH
Path is not valid.IS_APP_FOLDER
We do not support sharing an app folder.IS_FAMILY
We do not support sharing the Family folder.IS_FILE
A file is at the specified path.IS_OSX_PACKAGE
We do not support sharing a Mac OS X package.IS_PUBLIC_FOLDER
A public folder can't be shared this way.IS_VAULT
We do not support sharing the Vault folder.IS_VAULT_LOCKED
We do not support sharing a folder inside a locked Vault.OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SharePathError.Tag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SharePathError.Tag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IS_FILE
public static final SharePathError.Tag IS_FILE
A file is at the specified path.
-
INSIDE_SHARED_FOLDER
public static final SharePathError.Tag INSIDE_SHARED_FOLDER
We do not support sharing a folder inside a shared folder.
-
CONTAINS_SHARED_FOLDER
public static final SharePathError.Tag CONTAINS_SHARED_FOLDER
We do not support shared folders that contain shared folders.
-
CONTAINS_APP_FOLDER
public static final SharePathError.Tag CONTAINS_APP_FOLDER
We do not support shared folders that contain app folders.
-
CONTAINS_TEAM_FOLDER
public static final SharePathError.Tag CONTAINS_TEAM_FOLDER
We do not support shared folders that contain team folders.
-
IS_APP_FOLDER
public static final SharePathError.Tag IS_APP_FOLDER
We do not support sharing an app folder.
-
INSIDE_APP_FOLDER
public static final SharePathError.Tag INSIDE_APP_FOLDER
We do not support sharing a folder inside an app folder.
-
IS_PUBLIC_FOLDER
public static final SharePathError.Tag IS_PUBLIC_FOLDER
A public folder can't be shared this way. Use a public link instead.
-
INSIDE_PUBLIC_FOLDER
public static final SharePathError.Tag INSIDE_PUBLIC_FOLDER
A folder inside a public folder can't be shared this way. Use a public link instead.
-
ALREADY_SHARED
public static final SharePathError.Tag ALREADY_SHARED
Folder is already shared. Contains metadata about the existing shared folder.
-
INVALID_PATH
public static final SharePathError.Tag INVALID_PATH
Path is not valid.
-
IS_OSX_PACKAGE
public static final SharePathError.Tag IS_OSX_PACKAGE
We do not support sharing a Mac OS X package.
-
INSIDE_OSX_PACKAGE
public static final SharePathError.Tag INSIDE_OSX_PACKAGE
We do not support sharing a folder inside a Mac OS X package.
-
IS_VAULT
public static final SharePathError.Tag IS_VAULT
We do not support sharing the Vault folder.
-
IS_VAULT_LOCKED
public static final SharePathError.Tag IS_VAULT_LOCKED
We do not support sharing a folder inside a locked Vault.
-
IS_FAMILY
public static final SharePathError.Tag IS_FAMILY
We do not support sharing the Family folder.
-
OTHER
public static final SharePathError.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 SharePathError.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 (SharePathError.Tag c : SharePathError.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 SharePathError.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
-
-