Class Version
java.lang.Object
com.aoindustries.aoserv.client.AoservObject<Integer,Version>
com.aoindustries.aoserv.client.GlobalObject<Integer,Version>
com.aoindustries.aoserv.client.GlobalObjectIntegerKey<Version>
com.aoindustries.aoserv.client.web.tomcat.Version
- All Implemented Interfaces:
Streamable
,StreamReadable
,StreamWritable
,Row
,AoservReadable
,AoservStreamable
,AoservWritable
An
HttpdTomcatVersion
flags which
TechnologyVersion
s are a version of the Jakarta
Tomcat servlet engine. Multiple versions of the Tomcat servlet
engine are supported, but only one version may be configured within
each Java virtual machine.- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
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
ConstructorDescriptionVersion()
Deprecated.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canUpgradeFrom
(String version) In-place upgrades are supported from Tomcat 4.1 and newer.static boolean
canUpgradeTo
(String version) In-place upgrades and downgrades are supported to Tomcat 8.5 and newer.protected Object
getColumnImpl
(int i) getTechnologyVersion
(AoservConnector connector) void
Initializes this object from the raw database contents.boolean
isTomcat10_0_X
(AoservConnector connector) boolean
isTomcat10_1_X
(AoservConnector connector) boolean
isTomcat3_1
(AoservConnector connector) boolean
isTomcat3_2_4
(AoservConnector connector) boolean
isTomcat4
(AoservConnector connector) Deprecated.Please check all uses of this, because it also returnstrue
for Tomcat 5, which doesn't seem to match the method name very well.boolean
isTomcat4_1_X
(AoservConnector connector) boolean
isTomcat5_5_X
(AoservConnector connector) boolean
isTomcat6_0_X
(AoservConnector connector) boolean
isTomcat7_0_X
(AoservConnector connector) boolean
isTomcat8_0_X
(AoservConnector connector) boolean
isTomcat8_5_X
(AoservConnector connector) boolean
isTomcat9_0_X
(AoservConnector connector) void
read
(StreamableInput in, AoservProtocol.Version protocolVersion) boolean
void
write
(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.GlobalObjectIntegerKey
equals, getKey, getPkey, hashCode, toStringImpl
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
-
TECHNOLOGY_NAME
- See Also:
-
VERSION_3_1
- See Also:
-
VERSION_3_2_4
- See Also:
-
VERSION_4_1_PREFIX
- See Also:
-
VERSION_5_5_PREFIX
- See Also:
-
VERSION_6_0_PREFIX
- See Also:
-
VERSION_7_0_PREFIX
- See Also:
-
VERSION_8_0_PREFIX
- See Also:
-
VERSION_8_5_PREFIX
- See Also:
-
VERSION_9_0_PREFIX
- See Also:
-
VERSION_10_0_PREFIX
- See Also:
-
VERSION_10_1_PREFIX
- See Also:
-
-
Constructor Details
-
Version
Deprecated.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
canUpgradeFrom
In-place upgrades are supported from Tomcat 4.1 and newer. In-place downgrades are supported from Tomcat 8.5 and newer. -
canUpgradeTo
In-place upgrades and downgrades are supported to Tomcat 8.5 and newer. -
getColumnImpl
- Specified by:
getColumnImpl
in classAoservObject<Integer,
Version>
-
getInstallDirectory
-
getTableId
- Specified by:
getTableId
in classAoservObject<Integer,
Version>
-
getTechnologyVersion
public SoftwareVersion getTechnologyVersion(AoservConnector connector) throws SQLException, IOException - Throws:
SQLException
IOException
-
init
Description copied from class:AoservObject
Initializes this object from the raw database contents.- Specified by:
init
in classAoservObject<Integer,
Version> - Parameters:
result
- theResultSet
containing the row to copy into this object- Throws:
SQLException
-
isTomcat4
Deprecated.Please check all uses of this, because it also returnstrue
for Tomcat 5, which doesn't seem to match the method name very well.- Throws:
SQLException
IOException
- See Also:
-
isTomcat3_1
- Throws:
SQLException
IOException
-
isTomcat3_2_4
- Throws:
SQLException
IOException
-
isTomcat4_1_X
- Throws:
SQLException
IOException
-
isTomcat5_5_X
- Throws:
SQLException
IOException
-
isTomcat6_0_X
- Throws:
SQLException
IOException
-
isTomcat7_0_X
- Throws:
SQLException
IOException
-
isTomcat8_0_X
- Throws:
SQLException
IOException
-
isTomcat8_5_X
- Throws:
SQLException
IOException
-
isTomcat9_0_X
- Throws:
SQLException
IOException
-
isTomcat10_0_X
- Throws:
SQLException
IOException
-
isTomcat10_1_X
- Throws:
SQLException
IOException
-
read
- Specified by:
read
in interfaceAoservReadable
- Specified by:
read
in interfaceAoservStreamable
- Specified by:
read
in classAoservObject<Integer,
Version> - Throws:
IOException
-
requiresModjK
public boolean requiresModjK() -
write
- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceAoservWritable
- Specified by:
write
in classAoservObject<Integer,
Version> - Throws:
IOException
-