Class DriverEventInfo
java.lang.Object
de.xima.fc.persistence.driver.DriverEventInfo
- All Implemented Interfaces:
Serializable
Information about a database driver for event purposes.
- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDbms()The Database management System (DBMS) associated with the driver.The fully qualified class name of the driver.byte[]The content of the JDBC driver file as a byte array.intThe major version of the JDBC driver.intThe minor version of the JDBC driver.The original filename of the JDBC driver file.The SHA-256 fingerprint of the JDBC driver file as a hexadecimal string.The runtime ID of the driver.inthashCode()toString()
-
Constructor Details
-
DriverEventInfo
public DriverEventInfo(Dbms dbms, String driverClassName, int driverMajorVersion, int driverMinorVersion, String filename, String fingerprint, String runtimeId, byte[] driverFileContent) Creates a newDriverEventInfoinstance.- Parameters:
dbms- The Database management System (DBMS) associated with the driver. May be null if the DBMS could not be determined (e.g., if the driver is unknown).driverClassName- The fully qualified class name of the driver.driverMajorVersion- The major version of the JDBC driver.driverMinorVersion- The minor version of the JDBC driver.filename- The original filename of the JDBC driver file.fingerprint- The SHA-256 fingerprint of the JDBC driver file as a hexadecimal string.runtimeId- The runtime ID of the driver.driverFileContent- The content of the JDBC driver file as a byte array.
-
-
Method Details
-
getDbms
The Database management System (DBMS) associated with the driver. May be null if the DBMS could not be determined (e.g., if the driver is unknown). -
getDriverClassName
The fully qualified class name of the driver. -
getDriverMajorVersion
public int getDriverMajorVersion()The major version of the JDBC driver. -
getDriverMinorVersion
public int getDriverMinorVersion()The minor version of the JDBC driver. -
getFilename
The original filename of the JDBC driver file. -
getFingerprint
The SHA-256 fingerprint of the JDBC driver file as a hexadecimal string. -
getRuntimeId
The runtime ID of the driver. -
getDriverFileContent
public byte[] getDriverFileContent()The content of the JDBC driver file as a byte array. -
equals
-
hashCode
-
toString
-