Record Class SignalParentCommand.Data
java.lang.Object
java.lang.Record
org.chenile.orchestrator.process.service.outbox.SignalParentCommand.Data
- Enclosing class:
SignalParentCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for thechildIdrecord component.private final StringThe field for theeventNamerecord component.private final StringThe field for theparentIdrecord component.private final JsonNodeThe field for thepayloadrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildId()Returns the value of thechildIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventNamerecord component.final inthashCode()Returns a hash code value for this object.parentId()Returns the value of theparentIdrecord component.payload()Returns the value of thepayloadrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
parentId
The field for theparentIdrecord component. -
childId
The field for thechildIdrecord component. -
eventName
The field for theeventNamerecord component. -
payload
The field for thepayloadrecord component.
-
-
Constructor Details
-
Data
Creates an instance of aDatarecord class.- Parameters:
parentId- the value for theparentIdrecord componentchildId- the value for thechildIdrecord componenteventName- the value for theeventNamerecord componentpayload- the value for thepayloadrecord 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). -
parentId
Returns the value of theparentIdrecord component.- Returns:
- the value of the
parentIdrecord component
-
childId
Returns the value of thechildIdrecord component.- Returns:
- the value of the
childIdrecord component
-
eventName
Returns the value of theeventNamerecord component.- Returns:
- the value of the
eventNamerecord component
-
payload
Returns the value of thepayloadrecord component.- Returns:
- the value of the
payloadrecord component
-
CHENILE