Class ConnectStatusHolder

java.lang.Object
org.nuxeo.connect.client.status.ConnectStatusHolder

public class ConnectStatusHolder extends Object
Author:
Tiry ([email protected])
  • Field Details

  • Constructor Details

    • ConnectStatusHolder

      public ConnectStatusHolder()
  • Method Details

    • instance

      public static ConnectStatusHolder instance()
    • getService

      protected org.nuxeo.connect.registration.ConnectRegistrationService getService()
    • isRegistered

      public boolean isRegistered()
      Since:
      9.2
    • getStatus

      public SubscriptionStatusWrapper getStatus()
    • flush

      public void flush()
    • getStatus

      public SubscriptionStatusWrapper getStatus(boolean forceRefresh)
    • getRegistrationExpirationTimestamp

      public long getRegistrationExpirationTimestamp()
      Returns the registration expiration timestamp included in the CLID, or -1 if the CLID cannot be loaded or doesn't include the expiration timestamp (old v0 format).
      Since:
      10.2