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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final String
Deprecated.What is this used for?static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class com.aoindustries.aoserv.client.GlobalObjectIntegerKey
pkey
Fields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
Constructor Summary
ConstructorDescriptionDeprecated.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptiongetArchitecture
(AoservConnector connector) protected Object
getColumnImpl
(int i) getEmailListPath
(String name) Gets the directory that contains the shared tomcat directories ornull
if this OS doesn't support shared tomcats.static PosixPath
getHttpdSharedTomcatsDirectory
(int osv) Gets the directory that contains the shared tomcat directories ornull
if this OS doesn't support shared tomcats.Gets the directory that contains the per-virtual-host HTTP logs ornull
if this OS doesn't support web sites.static PosixPath
getHttpdSiteLogsDirectory
(int osv) Gets the directory that contains the per-virtual-host HTTP logs ornull
if this OS doesn't support web sites.Gets the directory that stores websites for this operating system ornull
if this OS doesn't support web sites.static PosixPath
getHttpdSitesDirectory
(int osv) Gets the directory that stores websites for this operating system ornull
if this OS doesn't support web sites.short
void
Initializes this object from the raw database contents.boolean
boolean
void
read
(StreamableInput in, AoservProtocol.Version protocolVersion) AoservObject.toString()
implementation that is allowed to throw exceptions.void
write
(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.GlobalObjectIntegerKey
equals, getKey, getPkey, hashCode
Methods 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.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
getColumnImpl
- Specified by:
getColumnImpl
in classAoservObject<Integer,
OperatingSystemVersion>
-
getOperatingSystem
- Throws:
IOException
SQLException
-
getVersionNumber
-
getVersionName
-
getArchitecture_name
-
getArchitecture
- Throws:
SQLException
IOException
-
getDisplay
-
isAoservDaemonSupported
public boolean isAoservDaemonSupported() -
getSortOrder
public short getSortOrder() -
getTableId
- Specified by:
getTableId
in classAoservObject<Integer,
OperatingSystemVersion>
-
init
Description copied from class:AoservObject
Initializes this object from the raw database contents.- Specified by:
init
in classAoservObject<Integer,
OperatingSystemVersion> - Parameters:
result
- theResultSet
containing the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
read
in interfaceAoservReadable
- Specified by:
read
in interfaceAoservStreamable
- Specified by:
read
in classAoservObject<Integer,
OperatingSystemVersion> - Throws:
IOException
-
toStringImpl
Description copied from class:AoservObject
AoservObject.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:
toStringImpl
in classGlobalObjectIntegerKey<OperatingSystemVersion>
-
write
- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceAoservWritable
- Specified by:
write
in classAoservObject<Integer,
OperatingSystemVersion> - Throws:
IOException
-
getHttpdSitesDirectory
Gets the directory that stores websites for this operating system ornull
if this OS doesn't support web sites. -
getHttpdSitesDirectory
Gets the directory that stores websites for this operating system ornull
if this OS doesn't support web sites. -
getHttpdSiteLogsDirectory
Gets the directory that contains the per-virtual-host HTTP logs ornull
if this OS doesn't support web sites. -
getHttpdSiteLogsDirectory
Gets the directory that contains the per-virtual-host HTTP logs ornull
if this OS doesn't support web sites. -
getEmailListPath
- Throws:
ValidationException
- See Also:
-
isValidEmailListRegularPath
- See Also:
-