Enum Class CustomDefinitions

java.lang.Object
java.lang.Enum<CustomDefinitions>
org.alfresco.rest.rm.community.model.custom.CustomDefinitions
All Implemented Interfaces:
Serializable, Comparable<CustomDefinitions>, Constable

public enum CustomDefinitions extends Enum<CustomDefinitions>
List of existing records management custom references.
Since:
2.6
Author:
Rodica Sutu
  • Enum Constant Details

  • Method Details

    • values

      public static CustomDefinitions[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CustomDefinitions valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDefinition

      public String getDefinition()
      Get the name of the custom reference.
      Returns:
      The value of custom reference.