Enum OperatingSystemConfiguration

All Implemented Interfaces:
Serializable, Comparable<OperatingSystemConfiguration>

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

  • Method Details

    • values

      public static OperatingSystemConfiguration[] 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 OperatingSystemConfiguration 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
    • getOperatingSystemConfiguration

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

      public abstract HttpdOperatingSystemConfiguration getHttpdOperatingSystemConfiguration()
      Gets the configuration for HTTP-related tasks or null if this OS version doesn't have any HTTP servers.
    • getOpensslDefaultCaFile

      public abstract PosixPath getOpensslDefaultCaFile()
      Gets the default certificate authority file for OpenSSL.
    • getOpensslDefaultChainFile

      public abstract PosixPath getOpensslDefaultChainFile()
      Gets the default certificate chain file for OpenSSL, if any. This file may be not exist even when this returns non-null.
    • getReplaceCommand

      public abstract PosixPath getReplaceCommand()
      Gets the full path to the replace command or null if unavailable.
    • getPostgresPath

      public abstract PosixPath getPostgresPath(String minorVersion)
      Gets the path to the PostgreSQL installation directory for the provided minor version (7.3, 8.1, 8.3, ...).
      The full path or null if PostgreSQL not supported.
    • getDefaultJdkProfileSh

      public abstract PosixPath getDefaultJdkProfileSh()
      Gets the path to the default JDK profile.sh script.
    • getDefaultJdkPackageName

      public abstract PackageManager.PackageName getDefaultJdkPackageName()
      Gets the package that provides the default JDK.
    • getJdk17ProfileSh

      public abstract PosixPath getJdk17ProfileSh()
      Gets the path to the JDK 1.7 profile.sh script.
    • getJdk17PackageName

      public abstract PackageManager.PackageName getJdk17PackageName()
      Gets the package that provides JDK 1.7.
    • getPackageReleaseSuffix

      public abstract String getPackageReleaseSuffix()
      Gets the expected suffix on RPM release numbers after the move to AORepo.org.
    • getOldPackageReleaseSuffix

      public abstract String getOldPackageReleaseSuffix()
      Gets the expected suffix on RPM release numbers before the move to AORepo.org.