Class OperatingSystemVersion
java.lang.Object
com.aoindustries.aoserv.client.AoservObject<Integer,OperatingSystemVersion>
com.aoindustries.aoserv.client.GlobalObject<Integer,OperatingSystemVersion>
com.aoindustries.aoserv.client.GlobalObjectIntegerKey<OperatingSystemVersion>
com.aoindustries.aoserv.client.distribution.OperatingSystemVersion
- All Implemented Interfaces:
Streamable,StreamReadable,StreamWritable,Row,AoservReadable,AoservStreamable,AoservWritable
One version of a operating system.
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final StringDeprecated.What is this used for?static final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.aoindustries.aoserv.client.GlobalObjectIntegerKey
pkeyFields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptiongetArchitecture(AoservConnector connector) protected ObjectgetColumnImpl(int i) getEmailListPath(String name) Gets the directory that contains the shared tomcat directories ornullif this OS doesn't support shared tomcats.static PosixPathgetHttpdSharedTomcatsDirectory(int osv) Gets the directory that contains the shared tomcat directories ornullif this OS doesn't support shared tomcats.Gets the directory that contains the per-virtual-host HTTP logs ornullif this OS doesn't support web sites.static PosixPathgetHttpdSiteLogsDirectory(int osv) Gets the directory that contains the per-virtual-host HTTP logs ornullif this OS doesn't support web sites.Gets the directory that stores websites for this operating system ornullif this OS doesn't support web sites.static PosixPathgetHttpdSitesDirectory(int osv) Gets the directory that stores websites for this operating system ornullif this OS doesn't support web sites.shortvoidInitializes this object from the raw database contents.booleanbooleanvoidread(StreamableInput in, AoservProtocol.Version protocolVersion) AoservObject.toString()implementation that is allowed to throw exceptions.voidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.GlobalObjectIntegerKey
equals, getKey, getPkey, hashCodeMethods inherited from class com.aoindustries.aoserv.client.AoservObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, getAccountingCode, getColumn, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxId, getLinuxUserName, getMacAddress, getMysqlDatabaseName, getMysqlServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, read, toString, write
-
Field Details
-
VERSION_5
- See Also:
-
VERSION_5_DOM0
- See Also:
-
VERSION_7
- See Also:
-
VERSION_7_DOM0
- See Also:
-
VERSION_9
- See Also:
-
VERSION_2006_0
- See Also:
-
VERSION_ES_4
- See Also:
-
DEFAULT_OPERATING_SYSTEM_VERSION
Deprecated.What is this used for?- See Also:
-
CENTOS_5_DOM0_X86_64
public static final int CENTOS_5_DOM0_X86_64- See Also:
-
CENTOS_5_DOM0_I686
public static final int CENTOS_5_DOM0_I686- See Also:
-
CENTOS_5_I686_AND_X86_64
public static final int CENTOS_5_I686_AND_X86_64- See Also:
-
CENTOS_7_DOM0_X86_64
public static final int CENTOS_7_DOM0_X86_64- See Also:
-
CENTOS_7_X86_64
public static final int CENTOS_7_X86_64- See Also:
-
ROCKY_9_X86_64
public static final int ROCKY_9_X86_64- See Also:
-
-
Constructor Details
-
OperatingSystemVersion
Deprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
getColumnImpl
- Specified by:
getColumnImplin classAoservObject<Integer,OperatingSystemVersion>
-
getOperatingSystem
- Throws:
IOExceptionSQLException
-
getVersionNumber
-
getVersionName
-
getArchitecture_name
-
getArchitecture
- Throws:
SQLExceptionIOException
-
getDisplay
-
isAoservDaemonSupported
public boolean isAoservDaemonSupported() -
getSortOrder
public short getSortOrder() -
getTableId
- Specified by:
getTableIdin classAoservObject<Integer,OperatingSystemVersion>
-
init
Description copied from class:AoservObjectInitializes this object from the raw database contents.- Specified by:
initin classAoservObject<Integer,OperatingSystemVersion> - Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
readin interfaceAoservReadable- Specified by:
readin interfaceAoservStreamable- Specified by:
readin classAoservObject<Integer,OperatingSystemVersion> - Throws:
IOException
-
toStringImpl
Description copied from class:AoservObjectAoservObject.toString()implementation that is allowed to throw exceptions.Implementation Note:
This default implementation callsAoservObject.toString()on the key (fromAoservObject.getKey()). When the key isnull, uses the default implementation fromObject.toString().- Overrides:
toStringImplin classGlobalObjectIntegerKey<OperatingSystemVersion>
-
write
- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceAoservWritable- Specified by:
writein classAoservObject<Integer,OperatingSystemVersion> - Throws:
IOException
-
getHttpdSitesDirectory
Gets the directory that stores websites for this operating system ornullif this OS doesn't support web sites. -
getHttpdSitesDirectory
Gets the directory that stores websites for this operating system ornullif this OS doesn't support web sites. -
getHttpdSiteLogsDirectory
Gets the directory that contains the per-virtual-host HTTP logs ornullif this OS doesn't support web sites. -
getHttpdSiteLogsDirectory
Gets the directory that contains the per-virtual-host HTTP logs ornullif this OS doesn't support web sites. -
getEmailListPath
- Throws:
ValidationException- See Also:
-
isValidEmailListRegularPath
- See Also:
-
