Record Class ProviderVerificationResult.ProviderError
java.lang.Object
java.lang.Record
com.svenruppert.jsentinel.credential.password.ProviderVerificationResult.ProviderError
- All Implemented Interfaces:
ProviderVerificationResult
- Enclosing interface:
ProviderVerificationResult
public static record ProviderVerificationResult.ProviderError(InternalAuditEventType internalAuditEventType, String message)
extends Record
implements ProviderVerificationResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface ProviderVerificationResult
ProviderVerificationResult.Matched, ProviderVerificationResult.NotMatched, ProviderVerificationResult.ProviderErrorModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionProviderError(InternalAuditEventType internalAuditEventType, String message) Creates an instance of aProviderErrorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinternalAuditEventTyperecord component.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProviderError
Creates an instance of aProviderErrorrecord class.- Parameters:
internalAuditEventType- the value for theinternalAuditEventTyperecord componentmessage- the value for themessagerecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
internalAuditEventType
Returns the value of theinternalAuditEventTyperecord component.- Returns:
- the value of the
internalAuditEventTyperecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-