Package org.alfresco.repo.content
Enum ObjectStorageProps
- java.lang.Object
-
- java.lang.Enum<ObjectStorageProps>
-
- org.alfresco.repo.content.ObjectStorageProps
-
- All Implemented Interfaces:
Serializable
,Comparable<ObjectStorageProps>
public enum ObjectStorageProps extends Enum<ObjectStorageProps>
Enumeration with "header" values for Alfresco derived Storage Properties Values of this enum should be used when adding Alfresco derived key-value pairs in Storage Properties map. Subject to expand/change.- Author:
- mpichura
-
-
Enum Constant Summary
Enum Constants Enum Constant Description X_ALF_ARCHIVE_RESTORE_EXPIRY
Expiry date and time of object's content retrieved from archive.X_ALF_ARCHIVE_RESTORE_IN_PROGRESS
Object's content retrieval from archive is in progressX_ALF_ARCHIVED
Object's content is archived and not immediately accessible.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static ObjectStorageProps
valueOf(String name)
Returns the enum constant of this type with the specified name.static ObjectStorageProps[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X_ALF_ARCHIVED
public static final ObjectStorageProps X_ALF_ARCHIVED
Object's content is archived and not immediately accessible.
-
X_ALF_ARCHIVE_RESTORE_IN_PROGRESS
public static final ObjectStorageProps X_ALF_ARCHIVE_RESTORE_IN_PROGRESS
Object's content retrieval from archive is in progress
-
X_ALF_ARCHIVE_RESTORE_EXPIRY
public static final ObjectStorageProps X_ALF_ARCHIVE_RESTORE_EXPIRY
Expiry date and time of object's content retrieved from archive. Use YYYYMMDDThhmmssZ (ISO-8601) datetime format when using this value as key in Storage Properties map.
-
-
Method Detail
-
values
public static ObjectStorageProps[] 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 (ObjectStorageProps c : ObjectStorageProps.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectStorageProps 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
-
getValue
public String getValue()
-
-