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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isEnabled()
Returnstrue
if this post-processor should run,false
otherwise.void
postProcess(File driverFile)
Post-processes the driver file.
-
-
-
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.
-
-