Module org.jooq
Package org.jooq

Enum FilePattern.Sort

    • Enum Constant Detail

      • 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 Detail

      • values

        public static FilePattern.Sort[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FilePattern.Sort c : FilePattern.Sort.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FilePattern.Sort valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null