Enum Class ICommentBase.SortBy

java.lang.Object
java.lang.Enum<ICommentBase.SortBy>
com.polarion.alm.tracker.model.ICommentBase.SortBy
All Implemented Interfaces:
Serializable, Comparable<ICommentBase.SortBy>, Constable
Enclosing interface:
ICommentBase<T extends ICommentBase<T>>

public static enum ICommentBase.SortBy extends Enum<ICommentBase.SortBy>
Comment sorting type.
  • Time: sort by creation time
  • Hierarchy: sort by comment hierarchy (root comment followed by its child comments)
Since:
3.7.3
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static ICommentBase.SortBy[] 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 ICommentBase.SortBy 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