Enum Class SortBy

java.lang.Object
java.lang.Enum<SortBy>
com.deltawalker.script.SortBy
All Implemented Interfaces:
Serializable, Comparable<SortBy>, Constable

public enum SortBy extends Enum<SortBy>
The attribute to sort the resources of a folder comparison by. Each corresponds to a column of the folder comparison view.
Since:
2.0
See Also:
  • Enum Constant Details

    • ATTRIBUTES

      public static final SortBy ATTRIBUTES
      Sort resources by their permissions or attributes (Permissions or Attributes column).
    • MODIFIED_TIME

      public static final SortBy MODIFIED_TIME
      Sort resources by their last-modified time (Date Modified column).
    • GROUP

      public static final SortBy GROUP
      Sort resources by their group (Group column).
    • NAME

      public static final SortBy NAME
      Sort resources by name (Name column).
    • OWNER

      public static final SortBy OWNER
      Sort resources by their owner (Owner column).
    • SIZE

      public static final SortBy SIZE
      Sort resources by their size (Size column).
  • Method Details

    • values

      public static 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 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