Record Class ConnectStatus
java.lang.Object
java.lang.Record
org.nuxeo.ecm.restapi.jaxrs.io.management.ConnectStatus
public record ConnectStatus(boolean isRegistered, long registrationExpirationTimestamp, org.nuxeo.connect.data.SubscriptionStatus subscriptionStatus, String clid, String ctid)
extends Record
- Since:
- 2025.5
-
Constructor Summary
ConstructorsConstructorDescriptionConnectStatus
(boolean isRegistered, long registrationExpirationTimestamp, org.nuxeo.connect.data.SubscriptionStatus subscriptionStatus, String clid, String ctid) Creates an instance of aConnectStatus
record class. -
Method Summary
Modifier and TypeMethodDescriptionclid()
Returns the value of theclid
record component.ctid()
Returns the value of thectid
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theisRegistered
record component.long
Returns the value of theregistrationExpirationTimestamp
record component.org.nuxeo.connect.data.SubscriptionStatus
Returns the value of thesubscriptionStatus
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ConnectStatus
public ConnectStatus(boolean isRegistered, long registrationExpirationTimestamp, org.nuxeo.connect.data.SubscriptionStatus subscriptionStatus, String clid, String ctid) Creates an instance of aConnectStatus
record class.- Parameters:
isRegistered
- the value for theisRegistered
record componentregistrationExpirationTimestamp
- the value for theregistrationExpirationTimestamp
record componentsubscriptionStatus
- the value for thesubscriptionStatus
record componentclid
- the value for theclid
record componentctid
- the value for thectid
record 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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
isRegistered
public boolean isRegistered()Returns the value of theisRegistered
record component.- Returns:
- the value of the
isRegistered
record component
-
registrationExpirationTimestamp
public long registrationExpirationTimestamp()Returns the value of theregistrationExpirationTimestamp
record component.- Returns:
- the value of the
registrationExpirationTimestamp
record component
-
subscriptionStatus
public org.nuxeo.connect.data.SubscriptionStatus subscriptionStatus()Returns the value of thesubscriptionStatus
record component.- Returns:
- the value of the
subscriptionStatus
record component
-
clid
Returns the value of theclid
record component.- Returns:
- the value of the
clid
record component
-
ctid
Returns the value of thectid
record component.- Returns:
- the value of the
ctid
record component
-