Enum DownloadResourcePrefixEnum
- java.lang.Object
-
- java.lang.Enum<DownloadResourcePrefixEnum>
-
- com.atlassian.confluence.importexport.resource.DownloadResourcePrefixEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<DownloadResourcePrefixEnum>
public enum DownloadResourcePrefixEnum extends Enum<DownloadResourcePrefixEnum>
Enum of all the supported prefix of Download Resource Manager (except the prefix of WebImagesDownloadResourceManager)- Since:
- 6.1
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHMENT_DOWNLOAD_RESOURCE_PREFIX
ICON_DOWNLOAD_RESOURCE_PREFIX
PACKAGE_DOWNLOAD_RESOURCE_PREFIX
THUMBNAIL_DOWNLOAD_RESOURCE_PREFIX
TOKEN_AUTH_ATTACHMENT_DOWNLOAD_RESOURCE_PREFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrefix()
static DownloadResourcePrefixEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static DownloadResourcePrefixEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOKEN_AUTH_ATTACHMENT_DOWNLOAD_RESOURCE_PREFIX
public static final DownloadResourcePrefixEnum TOKEN_AUTH_ATTACHMENT_DOWNLOAD_RESOURCE_PREFIX
-
ATTACHMENT_DOWNLOAD_RESOURCE_PREFIX
public static final DownloadResourcePrefixEnum ATTACHMENT_DOWNLOAD_RESOURCE_PREFIX
-
THUMBNAIL_DOWNLOAD_RESOURCE_PREFIX
public static final DownloadResourcePrefixEnum THUMBNAIL_DOWNLOAD_RESOURCE_PREFIX
-
ICON_DOWNLOAD_RESOURCE_PREFIX
public static final DownloadResourcePrefixEnum ICON_DOWNLOAD_RESOURCE_PREFIX
-
PACKAGE_DOWNLOAD_RESOURCE_PREFIX
public static final DownloadResourcePrefixEnum PACKAGE_DOWNLOAD_RESOURCE_PREFIX
-
-
Method Detail
-
values
public static DownloadResourcePrefixEnum[] 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 (DownloadResourcePrefixEnum c : DownloadResourcePrefixEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DownloadResourcePrefixEnum valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPrefix
public String getPrefix()
-
-