Record Class DefaultTracking.PreparedHandler
java.lang.Object
java.lang.Record
io.fluxzero.sdk.tracking.DefaultTracking.PreparedHandler
- Enclosing class:
DefaultTracking
public static record DefaultTracking.PreparedHandler(Object target, io.fluxzero.common.handling.Handler<DeserializingMessage> handler)
extends Record
A prepared handler and its effective tracking target after expansion, preserving instance-specific assignment.
-
Constructor Summary
ConstructorsConstructorDescriptionPreparedHandler(Object target, io.fluxzero.common.handling.Handler<DeserializingMessage> handler) Creates an instance of aPreparedHandlerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.io.fluxzero.common.handling.Handler<DeserializingMessage> handler()Returns the value of thehandlerrecord component.final inthashCode()Returns a hash code value for this object.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PreparedHandler
public PreparedHandler(Object target, io.fluxzero.common.handling.Handler<DeserializingMessage> handler) Creates an instance of aPreparedHandlerrecord class.- Parameters:
target- the value for thetargetrecord componenthandler- the value for thehandlerrecord 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). -
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
handler
Returns the value of thehandlerrecord component.- Returns:
- the value of the
handlerrecord component
-