Package com.aoindustries.aoserv.daemon
Enum OperatingSystemConfiguration
java.lang.Object
java.lang.Enum<OperatingSystemConfiguration>
com.aoindustries.aoserv.daemon.OperatingSystemConfiguration
- All Implemented Interfaces:
Serializable,Comparable<OperatingSystemConfiguration>
Operating system-specific configurations.
- Author:
- AO Industries, Inc.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionabstract PackageManager.PackageNameGets the package that provides the default JDK.abstract PosixPathGets the path to the default JDK profile.sh script.abstract HttpdOperatingSystemConfigurationGets the configuration for HTTP-related tasks ornullif this OS version doesn't have any HTTP servers.abstract PackageManager.PackageNameGets the package that provides JDK 1.7.abstract PosixPathGets the path to the JDK 1.7 profile.sh script.abstract StringGets the expected suffix on RPM release numbers before the move to AORepo.org.static OperatingSystemConfigurationGets the operating system configuration for this server, as determined by theAoservDaemon.getThisServer()method.abstract StringGets the expected suffix on RPM release numbers after the move to AORepo.org.abstract PackageManager.PackageNameGets the package that provides PERL.abstract PosixPathgetPostgresPath(String minorVersion) Gets the path to the PostgreSQL installation directory for the provided minor version (7.3, 8.1, 8.3, ...).abstract PosixPathGets the full path to the replace command ornullif unavailable.static OperatingSystemConfigurationReturns the enum constant of this type with the specified name.static OperatingSystemConfiguration[]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_5DOM0_I686
-
CENTOS_5DOM0_X86_64
-
CENTOS_7_X86_64
-
CENTOS_7DOM0_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
-
getOperatingSystemConfiguration
public static OperatingSystemConfiguration getOperatingSystemConfiguration() throws IOException, SQLExceptionGets the operating system configuration for this server, as determined by theAoservDaemon.getThisServer()method.- Throws:
IOExceptionSQLException- See Also:
-
getHttpdOperatingSystemConfiguration
Gets the configuration for HTTP-related tasks ornullif this OS version doesn't have any HTTP servers. -
getReplaceCommand
Gets the full path to the replace command ornullif unavailable. -
getPostgresPath
Gets the path to the PostgreSQL installation directory for the provided minor version (7.3, 8.1, 8.3, ...).- Returns:
- The full path or
nullif PostgreSQL not supported.
-
getDefaultJdkProfileSh
Gets the path to the default JDK profile.sh script. -
getDefaultJdkPackageName
Gets the package that provides the default JDK. -
getJdk17ProfileSh
Gets the path to the JDK 1.7 profile.sh script. -
getJdk17PackageName
Gets the package that provides JDK 1.7. -
getPackageReleaseSuffix
Gets the expected suffix on RPM release numbers after the move to AORepo.org. -
getOldPackageReleaseSuffix
Gets the expected suffix on RPM release numbers before the move to AORepo.org. -
getPerlPackageName
Gets the package that provides PERL.
-
