Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Attributes | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings Class Reference

Public Member Functions

boolean equals (Object obj)
 
int getBulkThreshold ()
 
String getDbName ()
 
String getHost ()
 
String getPassword ()
 
int getPort ()
 
String getUserName ()
 
int hashCode ()
 
void setBulkThreshold (int bulkThreshold) throws CentralRepoException
 
void setDbName (String dbName) throws CentralRepoException
 
void setHost (String host) throws CentralRepoException
 
void setPassword (String password) throws CentralRepoException
 
void setPort (int port) throws CentralRepoException
 
void setUserName (String userName) throws CentralRepoException
 

Static Public Attributes

static final String DEFAULT_DBNAME = "central_repository"
 
static final String DEFAULT_HOST = ""
 
static final String DEFAULT_PASSWORD = ""
 
static final int DEFAULT_PORT = 5432
 
static final String DEFAULT_USERNAME = ""
 

Static Private Member Functions

static void validateNum (int num, Integer min, Integer max, String errMessage) throws CentralRepoException
 
static void validateRegex (String s, String pattern, String errMessage) throws CentralRepoException
 
static void validateStr (String s, String errMessage) throws CentralRepoException
 

Private Attributes

int bulkThreshold = RdbmsCentralRepo.DEFAULT_BULK_THRESHHOLD
 
String dbName = DEFAULT_DBNAME
 
String host = DEFAULT_HOST
 
String password = DEFAULT_PASSWORD
 
int port = DEFAULT_PORT
 
String userName = DEFAULT_USERNAME
 

Static Private Attributes

static final String DB_NAMES_REGEX = "[a-z][a-z0-9_]*"
 
static final String DB_USER_NAMES_REGEX = "[a-zA-Z]\\w*"
 

Detailed Description

This class is a POJO for postgres settings to be used with central repository.

Definition at line 28 of file PostgresConnectionSettings.java.

Member Function Documentation

boolean org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.equals ( Object  obj)
int org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.getBulkThreshold ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.getDbName ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.getHost ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.getPassword ( )
int org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.getPort ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.getUserName ( )
int org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.hashCode ( )
void org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.setBulkThreshold ( int  bulkThreshold) throws CentralRepoException
void org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.setDbName ( String  dbName) throws CentralRepoException
void org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.setHost ( String  host) throws CentralRepoException
void org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.setPassword ( String  password) throws CentralRepoException
void org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.setPort ( int  port) throws CentralRepoException
void org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.setUserName ( String  userName) throws CentralRepoException
static void org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.validateNum ( int  num,
Integer  min,
Integer  max,
String  errMessage 
) throws CentralRepoException
staticprivate
static void org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.validateRegex ( String  s,
String  pattern,
String  errMessage 
) throws CentralRepoException
staticprivate
static void org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.validateStr ( String  s,
String  errMessage 
) throws CentralRepoException
staticprivate

Member Data Documentation

int org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.bulkThreshold = RdbmsCentralRepo.DEFAULT_BULK_THRESHHOLD
private
final String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.DB_NAMES_REGEX = "[a-z][a-z0-9_]*"
staticprivate

Definition at line 29 of file PostgresConnectionSettings.java.

final String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.DB_USER_NAMES_REGEX = "[a-zA-Z]\\w*"
staticprivate

Definition at line 30 of file PostgresConnectionSettings.java.

String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.dbName = DEFAULT_DBNAME
private
final String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.DEFAULT_DBNAME = "central_repository"
static

Definition at line 34 of file PostgresConnectionSettings.java.

final String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.DEFAULT_HOST = ""
static

Definition at line 32 of file PostgresConnectionSettings.java.

final String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.DEFAULT_PASSWORD = ""
static

Definition at line 36 of file PostgresConnectionSettings.java.

final int org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.DEFAULT_PORT = 5432
static
final String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.DEFAULT_USERNAME = ""
static

Definition at line 35 of file PostgresConnectionSettings.java.

String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.host = DEFAULT_HOST
private
String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.password = DEFAULT_PASSWORD
private
int org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.port = DEFAULT_PORT
private
String org.sleuthkit.autopsy.centralrepository.datamodel.PostgresConnectionSettings.userName = DEFAULT_USERNAME
private

The documentation for this class was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Thu Sep 29 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.