Package de.xima.fc.common.fs
Class FsServerInfoDto
- java.lang.Object
-
- de.xima.fc.common.fs.FsServerInfoDto
-
- All Implemented Interfaces:
Serializable
public final class FsServerInfoDto extends Object implements Serializable
Data transfer object for information about the frontend server.- Since:
- 8.5.0
- Author:
- tobias
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FsServerInfoDto(boolean usingSSL, boolean usingSSLModeAuto, Instant sslCertificateExpirationDate, String fcVersion, String javaVersion, String osName, String osVersion, String osArch, String jvmName, String jvmVendor)Creates a newFsServerInfoDtoinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetFcVersion()The formcycle version of the Frontend-Server.StringgetJavaVersion()The Java version of the Frontend-Server.StringgetJvmName()JVM name of the Frontend-Server.StringgetJvmVendor()JVM vendor of the Frontend-Server.StringgetOsArch()The operating system architecture of the Frontend-Server.StringgetOsName()The operating system name of the Frontend-Server.StringgetOsVersion()The operating system version of the Frontend-Server.InstantgetSslCertificateExpirationDate()The expiration date of the SSL certificate used by the Frontend-Server.inthashCode()booleanisUsingSSL()Whether the Frontend-Server is using SSLbooleanisUsingSSLModeAuto()Whether the Frontend-Server is using SSL in auto mode.StringtoString()
-
-
-
Constructor Detail
-
FsServerInfoDto
public FsServerInfoDto(boolean usingSSL, boolean usingSSLModeAuto, Instant sslCertificateExpirationDate, String fcVersion, String javaVersion, String osName, String osVersion, String osArch, String jvmName, String jvmVendor)Creates a newFsServerInfoDtoinstance.- Parameters:
usingSSL- Whether the Frontend-Server is using SSLusingSSLModeAuto- Whether the Frontend-Server is using SSL in auto mode. This includes auto generation of necessary certificates and keys. If enabled, the server has also the ability to update its SSL certificate automatically when it expires during restart.sslCertificateExpirationDate- The expiration date of the SSL certificate used by the Frontend-Server.fcVersion- The formcycle version of the Frontend-Server.javaVersion- The Java version of the Frontend-Server.osName- The operating system name of the Frontend-Server.osVersion- The operating system version of the Frontend-Server.osArch- The operating system architecture of the Frontend-Server.jvmName- JVM name of the Frontend-Server.jvmVendor- JVM vendor of the Frontend-Server.
-
-
Method Detail
-
isUsingSSL
public boolean isUsingSSL()
Whether the Frontend-Server is using SSL
-
isUsingSSLModeAuto
public boolean isUsingSSLModeAuto()
Whether the Frontend-Server is using SSL in auto mode. This includes auto generation of necessary certificates and keys. If enabled, the server has also the ability to update its SSL certificate automatically when it expires during restart.
-
getSslCertificateExpirationDate
public Instant getSslCertificateExpirationDate()
The expiration date of the SSL certificate used by the Frontend-Server.
-
getFcVersion
public String getFcVersion()
The formcycle version of the Frontend-Server.
-
getJavaVersion
public String getJavaVersion()
The Java version of the Frontend-Server.
-
getOsName
public String getOsName()
The operating system name of the Frontend-Server.
-
getOsVersion
public String getOsVersion()
The operating system version of the Frontend-Server.
-
getOsArch
public String getOsArch()
The operating system architecture of the Frontend-Server.
-
getJvmName
public String getJvmName()
JVM name of the Frontend-Server.
-
getJvmVendor
public String getJvmVendor()
JVM vendor of the Frontend-Server.
-
-