Class PostgresStorageConfiguration
-
- All Implemented Interfaces:
-
org.ossreviewtoolkit.model.config.ScanStorageConfiguration
public final class PostgresStorageConfiguration implements ScanStorageConfiguration
A class to hold the configuration for using Postgres as a storage.
-
-
Field Summary
Fields Modifier and Type Field Description private final PostgresConnectionconnectionprivate final StorageTypetype
-
Constructor Summary
Constructors Constructor Description PostgresStorageConfiguration(PostgresConnection connection, StorageType type)
-
Method Summary
Modifier and Type Method Description final PostgresConnectiongetConnection()The configuration of the PostgreSQL database. final StorageTypegetType()The way that scan results are stored, defaults to StorageType.PROVENANCE_BASED. -
-
Constructor Detail
-
PostgresStorageConfiguration
PostgresStorageConfiguration(PostgresConnection connection, StorageType type)
-
-
Method Detail
-
getConnection
final PostgresConnection getConnection()
The configuration of the PostgreSQL database.
-
getType
final StorageType getType()
The way that scan results are stored, defaults to StorageType.PROVENANCE_BASED.
-
-
-
-