Record Class MQTTActivity.Broker
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.MQTTActivity.Broker
- All Implemented Interfaces:
Serializable
- Enclosing class:
MQTTActivity
public static record MQTTActivity.Broker(String mover, String status, String reason, long completedAt)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecompletedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mover()Returns the value of themoverrecord component.reason()Returns the value of thereasonrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Broker
Creates an instance of aBrokerrecord class.- Parameters:
mover- the value for themoverrecord componentstatus- the value for thestatusrecord componentreason- the value for thereasonrecord componentcompletedAt- the value for thecompletedAtrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
mover
Returns the value of themoverrecord component.- Returns:
- the value of the
moverrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
completedAt
public long completedAt()Returns the value of thecompletedAtrecord component.- Returns:
- the value of the
completedAtrecord component
-