Enum Class SortAttribute

java.lang.Object
java.lang.Enum<SortAttribute>
com.netflix.genie.client.apis.SortAttribute
All Implemented Interfaces:
Serializable, Comparable<SortAttribute>, Constable

public enum SortAttribute extends Enum<SortAttribute>
Sort key for entity search results. This is a subset of all sort attributes supported by the server.
Since:
4.0.0
  • Enum Constant Details

    • ID

      public static final SortAttribute ID
      Entity unique id.
    • CREATED

      public static final SortAttribute CREATED
      Creation date.
    • UPDATED

      public static final SortAttribute UPDATED
      Last update.
    • VERSION

      public static final SortAttribute VERSION
      Entity version.
  • Field Details

    • DEFAULT

      public static final SortAttribute DEFAULT
      Default sort attribute.
  • Method Details

    • values

      public static SortAttribute[] 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 SortAttribute 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