Enum DataSourceEncryptionState.State

    • Enum Constant Detail

      • ENCRYPTION_VALID

        public static final DataSourceEncryptionState.State ENCRYPTION_VALID
        Encryption of the database is valid, meaning the provided encryption settings are correct and data can be decrypted successfully.
      • ENCRYPTION_INVALID

        public static final DataSourceEncryptionState.State ENCRYPTION_INVALID
        Encryption of the database is invalid, meaning the provided encryption settings are incorrect and data cannot be decrypted.
      • ENCRYPTION_NOT_SETUP

        public static final DataSourceEncryptionState.State ENCRYPTION_NOT_SETUP
        The database is not (yet) set up for encryption, meaning encryption test value is not found.
      • UNKNOWN_ERROR

        public static final DataSourceEncryptionState.State UNKNOWN_ERROR
        An error occurred during the encryption check, such as a database access issue.
    • Method Detail

      • values

        public static DataSourceEncryptionState.State[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DataSourceEncryptionState.State c : DataSourceEncryptionState.State.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DataSourceEncryptionState.State valueOf​(String name)
        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 name
        NullPointerException - if the argument is null
      • isValid

        public boolean isValid()