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:
  • Constructor Details

    • 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 new FsServerInfoDto instance.
      Parameters:
      usingSSL - Whether the Frontend-Server is using SSL
      usingSSLModeAuto - 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 Details

    • 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object