Package de.xima.fc.persistence.impl
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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intcompareTo(IDriverRuntime o)DbmsgetDbms()Gets the DBMS type associated with this JDBC driver.@NotNull DrivergetDriver()Gets the JDBC Driver instance associated with this driver runtime.@NotNull FilegetDriverFile()Gets the file in the filesystem representing the JDBC driver.@NotBlank StringgetFingerprint()Gets the SHA-256 fingerprint of the driver file.@NotNull ManifestInfogetManifest()Gets the manifest information of the JDBC driver.@NotNull StringgetRuntimeId()Gets the unique runtime identifier for this driver runtime.
-
-
-
Method Detail
-
compareTo
default int compareTo(IDriverRuntime o)
- Specified by:
compareToin interfaceComparable<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.
-
-