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
TechnologyVersions 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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic 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
ConstructorsConstructorDescriptionVersion()Deprecated, 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 TypeMethodDescriptionstatic booleancanUpgradeFrom(String version) In-place upgrades are supported from Tomcat 4.1 and newer.static booleancanUpgradeTo(String version) In-place upgrades and downgrades are supported to Tomcat 8.5 and newer.protected ObjectgetColumnImpl(int i) getTechnologyVersion(AoservConnector connector) voidInitializes this object from the raw database contents.booleanisTomcat10_0_X(AoservConnector connector) booleanisTomcat10_1_X(AoservConnector connector) booleanisTomcat3_1(AoservConnector connector) booleanisTomcat3_2_4(AoservConnector connector) booleanisTomcat4(AoservConnector connector) Deprecated.Please check all uses of this, because it also returnstruefor Tomcat 5, which doesn't seem to match the method name very well.booleanisTomcat4_1_X(AoservConnector connector) booleanisTomcat5_5_X(AoservConnector connector) booleanisTomcat6_0_X(AoservConnector connector) booleanisTomcat7_0_X(AoservConnector connector) booleanisTomcat8_0_X(AoservConnector connector) booleanisTomcat8_5_X(AoservConnector connector) booleanisTomcat9_0_X(AoservConnector connector) voidread(StreamableInput in, AoservProtocol.Version protocolVersion) booleanvoidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.GlobalObjectIntegerKey
equals, getKey, getPkey, hashCode, toStringImplMethods 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, 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
-
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:
getColumnImplin classAoservObject<Integer,Version>
-
getInstallDirectory
-
getTableId
- Specified by:
getTableIdin classAoservObject<Integer,Version>
-
getTechnologyVersion
public SoftwareVersion getTechnologyVersion(AoservConnector connector) throws SQLException, IOException - Throws:
SQLExceptionIOException
-
init
Description copied from class:AoservObjectInitializes this object from the raw database contents.- Specified by:
initin classAoservObject<Integer,Version> - Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
isTomcat4
Deprecated.Please check all uses of this, because it also returnstruefor Tomcat 5, which doesn't seem to match the method name very well.- Throws:
SQLExceptionIOException- See Also:
-
isTomcat3_1
- Throws:
SQLExceptionIOException
-
isTomcat3_2_4
- Throws:
SQLExceptionIOException
-
isTomcat4_1_X
- Throws:
SQLExceptionIOException
-
isTomcat5_5_X
- Throws:
SQLExceptionIOException
-
isTomcat6_0_X
- Throws:
SQLExceptionIOException
-
isTomcat7_0_X
- Throws:
SQLExceptionIOException
-
isTomcat8_0_X
- Throws:
SQLExceptionIOException
-
isTomcat8_5_X
- Throws:
SQLExceptionIOException
-
isTomcat9_0_X
- Throws:
SQLExceptionIOException
-
isTomcat10_0_X
- Throws:
SQLExceptionIOException
-
isTomcat10_1_X
- Throws:
SQLExceptionIOException
-
read
- Specified by:
readin interfaceAoservReadable- Specified by:
readin interfaceAoservStreamable- Specified by:
readin classAoservObject<Integer,Version> - Throws:
IOException
-
requiresModjK
public boolean requiresModjK() -
write
- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceAoservWritable- Specified by:
writein classAoservObject<Integer,Version> - Throws:
IOException
-
