Package app.ductape.sdk.database.types
Record Class PreSaveTypes.PreSaveConfig
java.lang.Object
java.lang.Record
app.ductape.sdk.database.types.PreSaveTypes.PreSaveConfig
- Enclosing class:
- PreSaveTypes
-
Constructor Summary
ConstructorsConstructorDescriptionPreSaveConfig(String encryptionKey, String defaultHashAlgorithm, Integer defaultSaltRounds, Boolean throwOnValidationError) Creates an instance of aPreSaveConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefaultHashAlgorithmrecord component.Returns the value of thedefaultSaltRoundsrecord component.Returns the value of theencryptionKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thethrowOnValidationErrorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PreSaveConfig
public PreSaveConfig(String encryptionKey, String defaultHashAlgorithm, Integer defaultSaltRounds, Boolean throwOnValidationError) Creates an instance of aPreSaveConfigrecord class.- Parameters:
encryptionKey- the value for theencryptionKeyrecord componentdefaultHashAlgorithm- the value for thedefaultHashAlgorithmrecord componentdefaultSaltRounds- the value for thedefaultSaltRoundsrecord componentthrowOnValidationError- the value for thethrowOnValidationErrorrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
encryptionKey
Returns the value of theencryptionKeyrecord component.- Returns:
- the value of the
encryptionKeyrecord component
-
defaultHashAlgorithm
Returns the value of thedefaultHashAlgorithmrecord component.- Returns:
- the value of the
defaultHashAlgorithmrecord component
-
defaultSaltRounds
Returns the value of thedefaultSaltRoundsrecord component.- Returns:
- the value of the
defaultSaltRoundsrecord component
-
throwOnValidationError
Returns the value of thethrowOnValidationErrorrecord component.- Returns:
- the value of the
throwOnValidationErrorrecord component
-