Interface JdbcDriverDownloader.DriverFilePostProcessor
-
- All Known Implementing Classes:
MsSqlDriverFilePostProcessor
- Enclosing class:
- JdbcDriverDownloader
public static interface JdbcDriverDownloader.DriverFilePostProcessorPost-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 booleanisEnabled()Returnstrueif this post-processor should run,falseotherwise.voidpostProcess(File driverFile)Post-processes the driver file.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
Returns
trueif this post-processor should run,falseotherwise.- Returns:
- whether this post-processor should run.
-
postProcess
void postProcess(@NotNull File driverFile) throws IOExceptionPost-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.
-
-