Interface IDriverRuntime

All Superinterfaces:
Comparable<IDriverRuntime>

public interface IDriverRuntime extends Comparable<IDriverRuntime>
Represents a runtime instance of a JDBC driver.
Since:
8.5.0
Author:
Norman Lorenz
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
     
    Gets the DBMS type associated with this JDBC driver.
    @NotNull Driver
    Gets the JDBC Driver instance associated with this driver runtime.
    @NotNull File
    Gets the file in the filesystem representing the JDBC driver.
    @NotBlank String
    Gets the SHA-256 fingerprint of the driver file.
    @NotNull ManifestInfo
    Gets the manifest information of the JDBC driver.
    @NotNull String
    Gets the unique runtime identifier for this driver runtime.
  • Method Details

    • compareTo

      default int compareTo(IDriverRuntime o)
      Specified by:
      compareTo in interface Comparable<IDriverRuntime>
    • getDbms

      @Nullable Dbms getDbms()
      Gets the DBMS type associated with this JDBC driver. May be null if the DBMS type is unknown.
      Returns:
      The DBMS type, or null if unknown.
    • getDriver

      @NotNull @NotNull Driver getDriver()
      Gets the JDBC Driver instance associated with this driver runtime.
      Returns:
      The JDBC Driver instance.
    • getDriverFile

      @NotNull @NotNull File getDriverFile()
      Gets the file in the filesystem representing the JDBC driver.
      Returns:
      The JDBC driver file.
    • getFingerprint

      @NotBlank @NotBlank String getFingerprint()
      Gets the SHA-256 fingerprint of the driver file.
      Returns:
      The SHA-256 fingerprint as a hexadecimal string.
    • getManifest

      @NotNull @NotNull ManifestInfo getManifest()
      Gets the manifest information of the JDBC driver.
      Returns:
      The manifest information.
    • getRuntimeId

      @NotNull @NotNull String getRuntimeId()
      Gets the unique runtime identifier for this driver runtime.
      Returns:
      The unique runtime identifier.