Enum Migration

    • Enum Constant Detail

      • INSTANCE

        public static final Migration INSTANCE
    • Field Detail

      • DESCRIPTION_START

        private static final java.lang.String DESCRIPTION_START
        See Also:
        Constant Field Values
      • POSTGRES_MIGRATION_FILE_NAME

        private static final java.lang.String POSTGRES_MIGRATION_FILE_NAME
        See Also:
        Constant Field Values
      • ORACLE_MIGRATION_FILE_NAME

        private static final java.lang.String ORACLE_MIGRATION_FILE_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • Migration

        private Migration()
    • Method Detail

      • values

        public static Migration[] 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 (Migration c : Migration.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Migration valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getPostgresMigrationFile

        public static java.io.File getPostgresMigrationFile​(Context context)
      • getOracleMigrationFile

        public static java.io.File getOracleMigrationFile​(Context context)
      • extractDescriptions

        public static java.lang.String[] extractDescriptions​(java.lang.String sql)