Package com.deltawalker.script
Enum Class SortBy
- All Implemented Interfaces:
Serializable,Comparable<SortBy>,Constable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSort resources by their permissions or attributes (Permissions or Attributes column).Sort resources by their group (Group column).Sort resources by their last-modified time (Date Modified column).Sort resources by name (Name column).Sort resources by their owner (Owner column).Sort resources by their size (Size column). -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ATTRIBUTES
Sort resources by their permissions or attributes (Permissions or Attributes column). -
MODIFIED_TIME
Sort resources by their last-modified time (Date Modified column). -
GROUP
Sort resources by their group (Group column). -
NAME
Sort resources by name (Name column). -
OWNER
Sort resources by their owner (Owner column). -
SIZE
Sort resources by their size (Size column).
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-