public class SubscriptionStatusWrapper extends org.nuxeo.connect.data.SubscriptionStatus
SubscriptionStatus
Modifier and Type | Field and Description |
---|---|
protected boolean |
canNotReachConnectServer |
protected boolean |
isSecurityError |
protected Calendar |
refreshDate |
protected boolean |
versionMismatch |
Constructor and Description |
---|
SubscriptionStatusWrapper(org.nuxeo.connect.connector.ConnectSecurityError securityException) |
SubscriptionStatusWrapper(String errorMessage) |
SubscriptionStatusWrapper(org.nuxeo.connect.data.SubscriptionStatus status) |
Modifier and Type | Method and Description |
---|---|
String |
getContractStatusLabel() |
String |
getinstanceTypeLabel() |
Calendar |
getRefreshDate() |
boolean |
isConnectServerUnreachable() |
boolean |
isError() |
boolean |
isSecurityError() |
boolean |
isVersionMismatch() |
getContractStatus, getDescription, getEndDate, getInstanceType, getMessage, loadFromJSON, loadFromJSON, setContractStatus, setDescription, setEndDate, setInstanceType, setInstanceType, setMessage, status, toString
protected boolean isSecurityError
protected boolean canNotReachConnectServer
protected boolean versionMismatch
protected Calendar refreshDate
public SubscriptionStatusWrapper(String errorMessage)
public SubscriptionStatusWrapper(org.nuxeo.connect.connector.ConnectSecurityError securityException)
public SubscriptionStatusWrapper(org.nuxeo.connect.data.SubscriptionStatus status)
public String getinstanceTypeLabel()
public String getContractStatusLabel()
public boolean isError()
isError
in class org.nuxeo.connect.data.AbstractJSONSerializableData
public boolean isConnectServerUnreachable()
public boolean isVersionMismatch()
public boolean isSecurityError()
public Calendar getRefreshDate()
Copyright © 2015 Nuxeo SA. All rights reserved.