Class FrontendServerConfig
java.lang.Object
de.xima.fc.server.config.fs.impl.FrontendServerConfig
- All Implemented Interfaces:
ServerConfig
- Since:
- 29.01.26
- Author:
- Norman Lorenz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDirectory where the server configuration files are located.Gets the database connection configuration if available.Unique identifier of the server instance.Type of the server instance.
-
Constructor Details
-
FrontendServerConfig
-
-
Method Details
-
getConfigDir
Description copied from interface:ServerConfigDirectory where the server configuration files are located.- Specified by:
getConfigDirin interfaceServerConfig- Returns:
- The configuration directory as a File object.
-
getDatabaseConnectionConfig
Description copied from interface:ServerConfigGets the database connection configuration if available. Not all server types require a database connection, e.g. frontend-servers may not need one.- Specified by:
getDatabaseConnectionConfigin interfaceServerConfig- Returns:
- An Optional containing the DatabaseConnectionConfig if available, or an empty Optional if not.
-
getServerId
Description copied from interface:ServerConfigUnique identifier of the server instance.- Specified by:
getServerIdin interfaceServerConfig- Returns:
- The ServerId representing the unique identifier of the server.
-
getServerType
Description copied from interface:ServerConfigType of the server instance.- Specified by:
getServerTypein interfaceServerConfig- Returns:
- The ServerType representing the type of the server.
-