Module org.jooq
Package org.jooq

Enum Class FilePattern.Sort

All Implemented Interfaces:
Serializable, Comparable<FilePattern.Sort>, Constable
Enclosing class:
FilePattern

public static enum FilePattern.Sort extends Enum<FilePattern.Sort>
The sort algorithm to be applied to directory contents.
  • Enum Constant Details

    • SEMANTIC

      public static final FilePattern.Sort SEMANTIC
      Semantic, version aware sorting (the default).

      For example:

       version-1
       version-2
       version-10
       
    • ALPHANUMERIC

      public static final FilePattern.Sort ALPHANUMERIC
      Standard alphanumeric sorting.

      For example:

       version-1
       version-10
       version-2
       
    • FLYWAY

      public static final FilePattern.Sort FLYWAY
      Flyway compatible sorting.
    • NONE

      public static final FilePattern.Sort NONE
      No explicit sorting (may be non deterministic, depending on the file system).
  • Method Details

    • values

      public static FilePattern.Sort[] 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 FilePattern.Sort 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
    • of

      public static final FilePattern.Sort of(String sort)