Record Class EventStreamPushMessagePayload
java.lang.Object
java.lang.Record
com.inductiveautomation.eventstream.rpc.EventStreamPushMessagePayload
- All Implemented Interfaces:
Serializable
public record EventStreamPushMessagePayload(String project, String path, EventStreamState state, List<String> statusMessages)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEventStreamPushMessagePayload(String project, String 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.project()Returns the value of theprojectrecord 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(String project, String path, EventStreamState state, List<String> statusMessages) Creates an instance of aEventStreamPushMessagePayloadrecord class.- Parameters:
project- the value for theprojectrecord componentpath- the value for thepathrecord componentstate- the value for thestaterecord componentstatusMessages- the value for thestatusMessagesrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
project
Returns the value of theprojectrecord component.- Returns:
- the value of the
projectrecord component
-
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
Returns the value of thestatusMessagesrecord component.- Returns:
- the value of the
statusMessagesrecord component
-