Interface ServerInformation


public interface ServerInformation
Encapsulates static server information
  • Method Details

    • serverName

      String serverName()
      Returns:
      the server name
    • serverId

      UUID serverId()
      Returns:
      a unique identifier for this server
    • serverVersion

      Version serverVersion()
      Returns:
      the server framework Version
    • serverPort

      int serverPort()
      Returns:
      the server port
    • startTime

      ZonedDateTime startTime()
      Returns:
      the time of server startup
    • locale

      Locale locale()
      Returns:
      the server locale
    • timeZone

      ZoneId timeZone()
      Returns:
      the server time zone