Class SubscriptionStatusWrapper

java.lang.Object
org.nuxeo.connect.data.AbstractJSONSerializableData
org.nuxeo.connect.data.SubscriptionStatus
org.nuxeo.connect.client.status.SubscriptionStatusWrapper
Direct Known Subclasses:
UnresgistedSubscriptionStatusWrapper

public class SubscriptionStatusWrapper extends org.nuxeo.connect.data.SubscriptionStatus
Simple Wrapper to add label computation to the SubscriptionStatus
Author:
tiry
  • Field Details

    • isSecurityError

      protected boolean isSecurityError
    • canNotReachConnectServer

      protected boolean canNotReachConnectServer
    • versionMismatch

      protected boolean versionMismatch
    • refreshDate

      protected Calendar refreshDate
  • Constructor Details

    • SubscriptionStatusWrapper

      public SubscriptionStatusWrapper(String errorMessage)
    • SubscriptionStatusWrapper

      public SubscriptionStatusWrapper(org.nuxeo.connect.connector.ConnectSecurityError securityException)
    • SubscriptionStatusWrapper

      public SubscriptionStatusWrapper(org.nuxeo.connect.data.SubscriptionStatus status)
  • Method Details

    • getinstanceTypeLabel

      public String getinstanceTypeLabel()
    • getContractStatusLabel

      public String getContractStatusLabel()
    • isError

      public boolean isError()
      Overrides:
      isError in class org.nuxeo.connect.data.AbstractJSONSerializableData
    • isConnectServerUnreachable

      public boolean isConnectServerUnreachable()
    • isVersionMismatch

      public boolean isVersionMismatch()
    • isSecurityError

      public boolean isSecurityError()
    • getRefreshDate

      public Calendar getRefreshDate()