Record Class EventStreamPushMessagePayload
java.lang.Object
java.lang.Record
com.inductiveautomation.eventstream.rpc.EventStreamPushMessagePayload
- All Implemented Interfaces:
Serializable
public record EventStreamPushMessagePayload(ResourcePath path, EventStreamState state, List<String> statusMessages)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEventStreamPushMessagePayload(ResourcePath path, EventStreamState state, List<String> statusMessages) Creates an instance of aEventStreamPushMessagePayloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.state()Returns the value of thestaterecord component.Returns the value of thestatusMessagesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EventStreamPushMessagePayload
public EventStreamPushMessagePayload(ResourcePath path, EventStreamState state, List<String> statusMessages) Creates an instance of aEventStreamPushMessagePayloadrecord class.- Parameters:
path- the value for thepathrecord componentstate- the value for thestaterecord componentstatusMessages- the value for thestatusMessagesrecord 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). -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
statusMessages
-