Enum AttachmentStorageVersion
- java.lang.Object
-
- java.lang.Enum<AttachmentStorageVersion>
-
- com.atlassian.confluence.status.service.systeminfo.AttachmentStorageVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<AttachmentStorageVersion>
public enum AttachmentStorageVersion extends Enum<AttachmentStorageVersion>
An enumeration of the known versions of attachment data storage.- Since:
- 8.5.7
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OTHER
V3
V3_TO_V4_MIGRATION
V4
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttachmentStorageVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static AttachmentStorageVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V3
public static final AttachmentStorageVersion V3
-
V3_TO_V4_MIGRATION
public static final AttachmentStorageVersion V3_TO_V4_MIGRATION
-
V4
public static final AttachmentStorageVersion V4
-
OTHER
public static final AttachmentStorageVersion OTHER
-
-
Method Detail
-
values
public static AttachmentStorageVersion[] 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 (AttachmentStorageVersion c : AttachmentStorageVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttachmentStorageVersion 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
-
-