Enum CustomDefinitions
- java.lang.Object
-
- java.lang.Enum<CustomDefinitions>
-
- org.alfresco.rest.rm.community.model.custom.CustomDefinitions
-
- All Implemented Interfaces:
Serializable,Comparable<CustomDefinitions>
public enum CustomDefinitions extends Enum<CustomDefinitions>
List of existing records management custom references.- Since:
- 2.6
- Author:
- Rodica Sutu
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHMENTMESSAGENEXT_VERSIONRENDITION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefinition()Get the name of the custom reference.static CustomDefinitionsvalueOf(String name)Returns the enum constant of this type with the specified name.static CustomDefinitions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTACHMENT
public static final CustomDefinitions ATTACHMENT
-
MESSAGE
public static final CustomDefinitions MESSAGE
-
NEXT_VERSION
public static final CustomDefinitions NEXT_VERSION
-
RENDITION
public static final CustomDefinitions RENDITION
-
-
Method Detail
-
values
public static CustomDefinitions[] 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 (CustomDefinitions c : CustomDefinitions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomDefinitions 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
-
getDefinition
public String getDefinition()
Get the name of the custom reference.- Returns:
- The value of custom reference.
-
-