Enum HttpdOperatingSystemConfiguration
java.lang.Object
java.lang.Enum<HttpdOperatingSystemConfiguration>
com.aoindustries.aoserv.daemon.httpd.HttpdOperatingSystemConfiguration
- All Implemented Interfaces:
Serializable
,Comparable<HttpdOperatingSystemConfiguration>
Operating system-specific configurations.
- Author:
- AO Industries, Inc.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract PosixPath
Gets the AWStats bin directory.Gets the configuration directory used by AWStats.Gets the AWStats hosts directory.Gets the AWStats icon directory.abstract PackageManager.PackageName
Gets the package that should be installed for AWStats ornull
for not automatic package management.abstract PosixPath
Gets the main AWStats directory.abstract PosixPath
Gets the directory that contains the shared tomcat directories.abstract String
Gets the relative path from CATALINA_HOME to /opt/ for the shared tomcat directories, including the trailing slash.abstract PosixPath
Gets the directory that contains the website directories.abstract String
Gets the relative path from CATALINA_HOME to /opt/ for the website directories, including the trailing slash.Gets the operating system configuration for this server, as determined by theAoservDaemon.getThisServer()
method.abstract OperatingSystemConfiguration
Gets the configuration for general tasks.abstract PosixPath
getPhpCgiPath
(String minorVersion) Gets the full path to the PHP CGI script for the provided PHP minor version.Returns the enum constant of this type with the specified name.static HttpdOperatingSystemConfiguration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CENTOS_5_I686_AND_X86_64
-
CENTOS_7_X86_64
-
ROCKY_9_X86_64
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getHttpOperatingSystemConfiguration
public static HttpdOperatingSystemConfiguration getHttpOperatingSystemConfiguration() throws IOException, SQLExceptionGets the operating system configuration for this server, as determined by theAoservDaemon.getThisServer()
method.- Throws:
IOException
SQLException
- See Also:
-
getOperatingSystemConfiguration
Gets the configuration for general tasks. -
getPhpCgiPath
Gets the full path to the PHP CGI script for the provided PHP minor version. -
getHttpdSitesDirectory
Gets the directory that contains the website directories. -
getHttpdSitesOptSlash
Gets the relative path from CATALINA_HOME to /opt/ for the website directories, including the trailing slash. -
getAwstatsConfigDirectory
Gets the configuration directory used by AWStats. -
getAwstatsPackageName
Gets the package that should be installed for AWStats ornull
for not automatic package management. -
getAwstatsVarDirectory
Gets the main AWStats directory. -
getAwstatsHostsDirectory
Gets the AWStats hosts directory. -
getAwstatsBinDirectory
Gets the AWStats bin directory. -
getAwstatsIconDirectory
Gets the AWStats icon directory.
-