Record Class PushResultImpl.TargetOutcome
java.lang.Object
java.lang.Record
com.iizix.server.push.engine.PushResultImpl.TargetOutcome
- Record Components:
target- The target.outcome- The outcome.detail- A diagnostic, never null.
- Enclosing class:
PushResultImpl
public static record PushResultImpl.TargetOutcome(DeliveryTarget target, DeliveryOutcome outcome, String detail) extends Record
One target's outcome.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsConstructorDescriptionTargetOutcome(DeliveryTarget target, DeliveryOutcome outcome, String detail) Creates an instance of aTargetOutcomerecord class.Method Summary
Modifier and TypeMethodDescriptiondetail()Returns the value of thedetailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.outcome()Returns the value of theoutcomerecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
Constructor Details
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).target
outcome
detail