Record Class ReconcileResult
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.jobs.effects.ReconcileResult
public record ReconcileResult(ReconcileResult.Outcome outcome, String providerRef, String message)
extends Record
What a target's reconcile lookup (by idempotency key or natural id) found
for an effect whose delivery outcome is unknown.
- FOUND: it was delivered: the effect becomes SENT.
- NOT_FOUND: it definitely was not: the effect becomes PENDING (safe to send).
- UNKNOWN: still can't tell: tried again, then queued for review.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionReconcileResult(ReconcileResult.Outcome outcome, String providerRef, String message) Creates an instance of aReconcileResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static ReconcileResultIt was delivered.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.static ReconcileResultnotFound()It definitely was not delivered.outcome()Returns the value of theoutcomerecord component.Returns the value of theproviderRefrecord component.final StringtoString()Returns a string representation of this record class.static ReconcileResultCan't tell.
-
Constructor Details
-
ReconcileResult
Creates an instance of aReconcileResultrecord class.- Parameters:
outcome- the value for theoutcomerecord componentproviderRef- the value for theproviderRefrecord componentmessage- the value for themessagerecord component
-
-
Method Details
-
found
It was delivered. -
notFound
It definitely was not delivered. -
unknown
Can't tell. -
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). -
outcome
Returns the value of theoutcomerecord component.- Returns:
- the value of the
outcomerecord component
-
providerRef
Returns the value of theproviderRefrecord component.- Returns:
- the value of the
providerRefrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-