Record Class ConnectOutcome
java.lang.Object
java.lang.Record
ai.redouble.demo.ConnectOutcome
public record ConnectOutcome(String verifiedBy, Integer listed, String failure, String note, RuntimeStatus status)
extends Record
What connecting did: the provider that verified the credential with its listed count, or its
failure in the provider's own words, or a note when nothing on the credential can list; and
the fresh status the page re-renders from.
-
Constructor Summary
ConstructorsConstructorDescriptionConnectOutcome(String verifiedBy, Integer listed, String failure, String note, RuntimeStatus status) Creates an instance of aConnectOutcomerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.failure()Returns the value of thefailurerecord component.final inthashCode()Returns a hash code value for this object.listed()Returns the value of thelistedrecord component.note()Returns the value of thenoterecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theverifiedByrecord component.
-
Constructor Details
-
ConnectOutcome
public ConnectOutcome(String verifiedBy, Integer listed, String failure, String note, RuntimeStatus status) Creates an instance of aConnectOutcomerecord class.- Parameters:
verifiedBy- the value for theverifiedByrecord componentlisted- the value for thelistedrecord componentfailure- the value for thefailurerecord componentnote- the value for thenoterecord componentstatus- the value for thestatusrecord 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). -
verifiedBy
Returns the value of theverifiedByrecord component.- Returns:
- the value of the
verifiedByrecord component
-
listed
Returns the value of thelistedrecord component.- Returns:
- the value of the
listedrecord component
-
failure
Returns the value of thefailurerecord component.- Returns:
- the value of the
failurerecord component
-
note
Returns the value of thenoterecord component.- Returns:
- the value of the
noterecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-