Enum DataSourceEncryptionState.State
java.lang.Object
java.lang.Enum<DataSourceEncryptionState.State>
de.xima.fc.persistence.system.DataSourceEncryptionState.State
- All Implemented Interfaces:
Serializable, Comparable<DataSourceEncryptionState.State>
- Enclosing class:
DataSourceEncryptionState
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEncryption of the database is invalid, meaning the provided encryption settings are incorrect and data cannot be decrypted.The database is not (yet) set up for encryption, meaning encryption test value is not found.Encryption of the database is valid, meaning the provided encryption settings are correct and data can be decrypted successfully.An error occurred during the encryption check, such as a database access issue. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValid()Returns the enum constant of this type with the specified name.static DataSourceEncryptionState.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ENCRYPTION_VALID
Encryption of the database is valid, meaning the provided encryption settings are correct and data can be decrypted successfully. -
ENCRYPTION_INVALID
Encryption of the database is invalid, meaning the provided encryption settings are incorrect and data cannot be decrypted. -
ENCRYPTION_NOT_SETUP
The database is not (yet) set up for encryption, meaning encryption test value is not found. -
UNKNOWN_ERROR
An error occurred during the encryption check, such as a database access issue.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isValid
public boolean isValid()
-