Package de.xima.fc.persistence.system
Class DataSourceEncryptionState
- java.lang.Object
-
- de.xima.fc.persistence.system.DataSourceEncryptionState
-
- All Implemented Interfaces:
Serializable
public final class DataSourceEncryptionState extends Object implements Serializable
Represents the state of database encryption verification, including whether the encryption is valid and any exceptions that occurred during the check.Note: This encryption state is based on the presence of an encryption test value in the database. This means this is highly implementation-specific and may only be available for the formcycle system database. Other databases may not support this feature.
- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataSourceEncryptionState.State
-
Constructor Summary
Constructors Constructor Description DataSourceEncryptionState(DataSourceEncryptionState.State state, Exception exception)Creates a newDataSourceEncryptionStateinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ExceptiongetException()Exception that occurred during the encryption check, if any.DataSourceEncryptionState.StategetState()State of the encryption check.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
DataSourceEncryptionState
public DataSourceEncryptionState(DataSourceEncryptionState.State state, Exception exception)
Creates a newDataSourceEncryptionStateinstance.- Parameters:
state- State of the encryption check.exception- Exception that occurred during the encryption check, if any.
-
-
Method Detail
-
getState
public DataSourceEncryptionState.State getState()
State of the encryption check.
-
getException
public Exception getException()
Exception that occurred during the encryption check, if any.
-
-