Package com.aoindustries.aoserv.daemon
Class AoservDaemonConfiguration
java.lang.Object
com.aoindustries.aoserv.daemon.AoservDaemonConfiguration
The configuration for all AOServ processes is stored in a properties file.
- Author:
- AO Industries, Inc.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static HashedKey
static String
static String
static String
static String
static String
static int
getMySqlConnections
(Server.Name serverName) static String
static long
getMySqlMaxConnectionAge
(Server.Name serverName) static String
getMySqlPassword
(Server.Name serverName) static String
getMySqlUser
(Server.Name serverName) Gets the set of network monitors that should be enabled on this server.static int
getPostgresConnections
(Server.Name serverName) static long
getPostgresMaxConnectionAge
(Server.Name serverName) static String
getPostgresPassword
(Server.Name serverName) static String
static String
static String
static boolean
isManagerEnabled
(Class<?> clazz) static boolean
isNested()
static boolean
-
Method Details
-
isNested
- Throws:
ConfigurationException
-
getMonitorEmailFullTo
- Throws:
ConfigurationException
-
getMonitorEmailFullFrom
- Throws:
ConfigurationException
-
getMonitorEmailSummaryTo
- Throws:
ConfigurationException
-
getMonitorEmailSummaryFrom
- Throws:
ConfigurationException
-
getMonitorSmtpServer
- Throws:
ConfigurationException
-
getServerHostname
- Throws:
ConfigurationException
-
getDaemonKey
- Throws:
ConfigurationException
-
getSslKeystorePassword
- Throws:
ConfigurationException
-
getSslKeystorePath
- Throws:
ConfigurationException
-
getPostgresPassword
- Throws:
ConfigurationException
-
getPostgresConnections
- Throws:
ConfigurationException
-
getPostgresMaxConnectionAge
public static long getPostgresMaxConnectionAge(Server.Name serverName) throws ConfigurationException - Throws:
ConfigurationException
-
getMySqlDriver
- Throws:
ConfigurationException
-
getMySqlUser
- Throws:
ConfigurationException
-
getMySqlPassword
- Throws:
ConfigurationException
-
getMySqlConnections
- Throws:
ConfigurationException
-
getMySqlMaxConnectionAge
- Throws:
ConfigurationException
-
getCyrusPassword
- Throws:
ConfigurationException
-
getNetworkMonitors
public static Map<String,AoservDaemonConfiguration.NetworkMonitorConfiguration> getNetworkMonitors() throws ConfigurationExceptionGets the set of network monitors that should be enabled on this server.- Throws:
ConfigurationException
-
isPackageManagerUninstallEnabled
- Throws:
ConfigurationException
-
isManagerEnabled
- Throws:
ConfigurationException
-