Record Class ConnectStatus
java.lang.Object
java.lang.Record
org.nuxeo.ecm.restapi.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 aConnectStatusrecord class. - 
Method Summary
Modifier and TypeMethodDescriptionclid()Returns the value of theclidrecord component.ctid()Returns the value of thectidrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisRegisteredrecord component.longReturns the value of theregistrationExpirationTimestamprecord component.org.nuxeo.connect.data.SubscriptionStatusReturns the value of thesubscriptionStatusrecord component.final StringtoString()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 aConnectStatusrecord class.- Parameters:
 isRegistered- the value for theisRegisteredrecord componentregistrationExpirationTimestamp- the value for theregistrationExpirationTimestamprecord componentsubscriptionStatus- the value for thesubscriptionStatusrecord componentclid- the value for theclidrecord componentctid- the value for thectidrecord 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 theisRegisteredrecord component.- Returns:
 - the value of the 
isRegisteredrecord component 
 - 
registrationExpirationTimestamp
public long registrationExpirationTimestamp()Returns the value of theregistrationExpirationTimestamprecord component.- Returns:
 - the value of the 
registrationExpirationTimestamprecord component 
 - 
subscriptionStatus
public org.nuxeo.connect.data.SubscriptionStatus subscriptionStatus()Returns the value of thesubscriptionStatusrecord component.- Returns:
 - the value of the 
subscriptionStatusrecord component 
 - 
clid
Returns the value of theclidrecord component.- Returns:
 - the value of the 
clidrecord component 
 - 
ctid
Returns the value of thectidrecord component.- Returns:
 - the value of the 
ctidrecord component 
 
 -