Enum HttpdOperatingSystemConfiguration

All Implemented Interfaces:
Serializable, Comparable<HttpdOperatingSystemConfiguration>

public enum HttpdOperatingSystemConfiguration extends Enum<HttpdOperatingSystemConfiguration>
Operating system-specific configurations.
AO Industries, Inc.
  • Enum Constant Details

  • Method Details

    • values

      public static HttpdOperatingSystemConfiguration[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HttpdOperatingSystemConfiguration valueOf(String name)
      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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getHttpOperatingSystemConfiguration

      public static HttpdOperatingSystemConfiguration getHttpOperatingSystemConfiguration() throws IOException, SQLException
      Gets the operating system configuration for this server, as determined by the AoservDaemon.getThisServer() method.
      See Also:
    • getOperatingSystemConfiguration

      public abstract OperatingSystemConfiguration getOperatingSystemConfiguration()
      Gets the configuration for general tasks.
    • getPhpCgiPath

      public abstract PosixPath getPhpCgiPath(String minorVersion)
      Gets the full path to the PHP CGI script for the provided PHP minor version.
    • getHttpdSitesDirectory

      public abstract PosixPath getHttpdSitesDirectory()
      Gets the directory that contains the website directories.
    • getHttpdSitesOptSlash

      public abstract String getHttpdSitesOptSlash()
      Gets the relative path from CATALINA_HOME to /opt/ for the website directories, including the trailing slash.
    • getHttpdSharedTomcatsDirectory

      public abstract PosixPath getHttpdSharedTomcatsDirectory()
      Gets the directory that contains the shared tomcat directories.
    • getHttpdSharedTomcatsOptSlash

      public abstract String getHttpdSharedTomcatsOptSlash()
      Gets the relative path from CATALINA_HOME to /opt/ for the shared tomcat directories, including the trailing slash.
    • getAwstatsConfigDirectory

      public PosixPath getAwstatsConfigDirectory()
      Gets the configuration directory used by AWStats.
    • getAwstatsPackageName

      public abstract PackageManager.PackageName getAwstatsPackageName()
      Gets the package that should be installed for AWStats or null for not automatic package management.
    • getAwstatsVarDirectory

      public abstract PosixPath getAwstatsVarDirectory()
      Gets the main AWStats directory.
    • getAwstatsHostsDirectory

      public PosixPath getAwstatsHostsDirectory()
      Gets the AWStats hosts directory.
    • getAwstatsBinDirectory

      public abstract PosixPath getAwstatsBinDirectory()
      Gets the AWStats bin directory.
    • getAwstatsIconDirectory

      public PosixPath getAwstatsIconDirectory()
      Gets the AWStats icon directory.