public class LicenseServerStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_LICENSE_SERVER_MANAGED |
long |
lastCommunication |
java.lang.String |
lastMessageFromServer |
long |
lastSuccessfulCommunication |
java.lang.String |
licenseServerId |
long |
licenseServerLicenseExpiresOn |
boolean |
licenseServerManaged |
java.lang.String |
licenseServerUrl |
Constructor and Description |
---|
LicenseServerStatus() |
LicenseServerStatus(LicenseServerStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this LicenseServerStatus.
|
static LicenseServerStatus |
fromString(java.lang.String s)
String representation of this LicenseServerStatus.
|
long |
getLastCommunication() |
java.lang.String |
getLastMessageFromServer() |
long |
getLastSuccessfulCommunication() |
java.lang.String |
getLicenseServerId() |
long |
getLicenseServerLicenseExpiresOn() |
java.lang.String |
getLicenseServerUrl() |
boolean |
isLicenseServerManaged() |
LicenseServerStatus |
makeCopy()
Creates and returns a deep copy of this LicenseServerStatus.
|
static LicenseServerStatus |
readFrom(java.io.InputStream is)
Read this LicenseServerStatus from an XML fragment.
|
void |
setLastCommunication(long lastCommunication) |
void |
setLastMessageFromServer(java.lang.String lastMessageFromServer) |
void |
setLastSuccessfulCommunication(long lastSuccessfulCommunication) |
void |
setLicenseServerId(java.lang.String licenseServerId) |
void |
setLicenseServerLicenseExpiresOn(long licenseServerLicenseExpiresOn) |
void |
setLicenseServerManaged(boolean licenseServerManaged) |
void |
setLicenseServerUrl(java.lang.String licenseServerUrl) |
java.lang.String |
toString()
String representation of this LicenseServerStatus.
|
LicenseServerStatus |
withLastCommunication(long lastCommunication) |
LicenseServerStatus |
withLastCommunication(java.lang.Long lastCommunication) |
LicenseServerStatus |
withLastMessageFromServer(java.lang.String lastMessageFromServer) |
LicenseServerStatus |
withLastSuccessfulCommunication(long lastSuccessfulCommunication) |
LicenseServerStatus |
withLastSuccessfulCommunication(java.lang.Long lastSuccessfulCommunication) |
LicenseServerStatus |
withLicenseServerId(java.lang.String licenseServerId) |
LicenseServerStatus |
withLicenseServerLicenseExpiresOn(long licenseServerLicenseExpiresOn) |
LicenseServerStatus |
withLicenseServerLicenseExpiresOn(java.lang.Long licenseServerLicenseExpiresOn) |
LicenseServerStatus |
withLicenseServerManaged(boolean licenseServerManaged) |
LicenseServerStatus |
withLicenseServerManaged(java.lang.Boolean licenseServerManaged) |
LicenseServerStatus |
withLicenseServerUrl(java.lang.String licenseServerUrl) |
void |
writeTo(java.io.OutputStream os)
Write this LicenseServerStatus as an XML fragment
|
public boolean licenseServerManaged
public static final boolean DEFAULT_LICENSE_SERVER_MANAGED
public java.lang.String licenseServerId
public java.lang.String licenseServerUrl
public long lastCommunication
public long lastSuccessfulCommunication
public java.lang.String lastMessageFromServer
public long licenseServerLicenseExpiresOn
public LicenseServerStatus()
public LicenseServerStatus(LicenseServerStatus o)
public void setLicenseServerManaged(boolean licenseServerManaged)
public boolean isLicenseServerManaged()
public LicenseServerStatus withLicenseServerManaged(boolean licenseServerManaged)
public LicenseServerStatus withLicenseServerManaged(java.lang.Boolean licenseServerManaged)
public void setLicenseServerId(java.lang.String licenseServerId)
public java.lang.String getLicenseServerId()
public LicenseServerStatus withLicenseServerId(java.lang.String licenseServerId)
public void setLicenseServerUrl(java.lang.String licenseServerUrl)
public java.lang.String getLicenseServerUrl()
public LicenseServerStatus withLicenseServerUrl(java.lang.String licenseServerUrl)
public void setLastCommunication(long lastCommunication)
public long getLastCommunication()
public LicenseServerStatus withLastCommunication(long lastCommunication)
public LicenseServerStatus withLastCommunication(java.lang.Long lastCommunication)
public void setLastSuccessfulCommunication(long lastSuccessfulCommunication)
public long getLastSuccessfulCommunication()
public LicenseServerStatus withLastSuccessfulCommunication(long lastSuccessfulCommunication)
public LicenseServerStatus withLastSuccessfulCommunication(java.lang.Long lastSuccessfulCommunication)
public void setLastMessageFromServer(java.lang.String lastMessageFromServer)
public java.lang.String getLastMessageFromServer()
public LicenseServerStatus withLastMessageFromServer(java.lang.String lastMessageFromServer)
public void setLicenseServerLicenseExpiresOn(long licenseServerLicenseExpiresOn)
public long getLicenseServerLicenseExpiresOn()
public LicenseServerStatus withLicenseServerLicenseExpiresOn(long licenseServerLicenseExpiresOn)
public LicenseServerStatus withLicenseServerLicenseExpiresOn(java.lang.Long licenseServerLicenseExpiresOn)
public LicenseServerStatus makeCopy()
public static LicenseServerStatus readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static LicenseServerStatus fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.