Package de.xima.fc.persistence.driver
Class DriverEventInfo
- java.lang.Object
-
- de.xima.fc.persistence.driver.DriverEventInfo
-
- All Implemented Interfaces:
Serializable
public final class DriverEventInfo extends Object implements Serializable
Information about a database driver for event purposes.- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)DbmsgetDbms()The Database management System (DBMS) associated with the driver.StringgetDriverClassName()The fully qualified class name of the driver.byte[]getDriverFileContent()The content of the JDBC driver file as a byte array.intgetDriverMajorVersion()The major version of the JDBC driver.intgetDriverMinorVersion()The minor version of the JDBC driver.StringgetFilename()The original filename of the JDBC driver file.StringgetFingerprint()The SHA-256 fingerprint of the JDBC driver file as a hexadecimal string.StringgetRuntimeId()The runtime ID of the driver.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
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 Detail
-
getDbms
public Dbms 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
public String 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
public String getFilename()
The original filename of the JDBC driver file.
-
getFingerprint
public String getFingerprint()
The SHA-256 fingerprint of the JDBC driver file as a hexadecimal string.
-
getRuntimeId
public String getRuntimeId()
The runtime ID of the driver.
-
getDriverFileContent
public byte[] getDriverFileContent()
The content of the JDBC driver file as a byte array.
-
-