Interface JdbcDriverDownloader.DriverFilePostProcessor

  • All Known Implementing Classes:
    MsSqlDriverFilePostProcessor
    Enclosing class:
    JdbcDriverDownloader

    public static interface JdbcDriverDownloader.DriverFilePostProcessor

    Post-processor for JDBC driver files which runs once a file has been downloaded.

    Since:
    2018.1
    Author:
    Andrey Shcheglov <mailto:andrey.shcheglov@jetbrains.com>
    • Method Detail

      • isEnabled

        boolean isEnabled()

        Returns true if this post-processor should run, false otherwise.

        Returns:
        whether this post-processor should run.
      • postProcess

        void postProcess​(@NotNull
                         File driverFile)
                  throws IOException

        Post-processes the driver file.

        Parameters:
        driverFile - the file to process.
        Throws:
        IOException - if an I/O error occurs.
        IllegalStateException - if invoked on a disabled post-processor.