- All Implemented Interfaces:
- Serializable,- Comparable<FilePattern.Sort>,- Constable
- Enclosing class:
- FilePattern
The sort algorithm to be applied to directory contents.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionStandard alphanumeric sorting.Flyway compatible sorting.No explicit sorting (may be non deterministic, depending on the file system).Semantic, version aware sorting (the default).
- 
Method SummaryModifier and TypeMethodDescriptionstatic final FilePattern.Sortstatic FilePattern.SortReturns the enum constant of this class with the specified name.static FilePattern.Sort[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
SEMANTICSemantic, version aware sorting (the default).For example: version-1 version-2 version-10 
- 
ALPHANUMERICStandard alphanumeric sorting.For example: version-1 version-10 version-2 
- 
FLYWAYFlyway compatible sorting.
- 
NONENo explicit sorting (may be non deterministic, depending on the file system).
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
of
 
-