public class CmsUpgrader extends AbstractCmsUpgrader
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
IDENTIFIER_GENERATOR
主键策略
|
private static java.util.List<java.lang.String> |
OLD_DATABASE_CONFIG_VERSION_LIST |
private static java.lang.String |
VERSION_180707 |
private static java.lang.String |
VERSION_180825 |
private static java.lang.String |
VERSION_181024 |
private static java.lang.String |
VERSION_190312 |
private static java.lang.String |
VERSION_20170708 |
private static java.lang.String |
VERSION_20180210 |
private static java.lang.String |
VERSION_2019 |
private static java.lang.String |
VERSION_202004 |
private static java.lang.String |
VERSION_202011 |
private static java.lang.String |
VERSION_202107 |
private static java.lang.String |
VERSION_202204 |
private static java.lang.String |
VERSION_202302 |
private static java.lang.String |
VERSION_202406 |
private static java.util.List<java.lang.String> |
VERSION_LIST |
IDENTIFIER_GENERATOR_IDENTITY, IDENTIFIER_GENERATOR_SEQUENCE, version
构造器和说明 |
---|
CmsUpgrader() |
限定符和类型 | 方法和说明 |
---|---|
int |
getDefaultPort() |
java.util.List<java.lang.String> |
getOldDatabaseConfigVersionList() |
java.util.List<java.lang.String> |
getVersionList() |
void |
setDataBaseUrl(java.util.Properties dbconfig,
java.lang.String host,
java.lang.String port,
java.lang.String database,
java.lang.String timeZone) |
void |
update(java.io.StringWriter stringWriter,
java.sql.Connection connection,
java.lang.String fromVersion) |
getVersion, runScript, setPassword, setSiteUrl, updateCategoryType, updateMetadata, updateSiteConfig
public static final java.lang.String IDENTIFIER_GENERATOR
private static final java.lang.String VERSION_20170708
private static final java.lang.String VERSION_20180210
private static final java.lang.String VERSION_180707
private static final java.lang.String VERSION_180825
private static final java.lang.String VERSION_181024
private static final java.lang.String VERSION_190312
private static final java.lang.String VERSION_2019
private static final java.lang.String VERSION_202004
private static final java.lang.String VERSION_202011
private static final java.lang.String VERSION_202107
private static final java.lang.String VERSION_202204
private static final java.lang.String VERSION_202302
private static final java.lang.String VERSION_202406
private static final java.util.List<java.lang.String> OLD_DATABASE_CONFIG_VERSION_LIST
private static final java.util.List<java.lang.String> VERSION_LIST
public void update(java.io.StringWriter stringWriter, java.sql.Connection connection, java.lang.String fromVersion) throws java.sql.SQLException, java.io.IOException
update
在类中 AbstractCmsUpgrader
java.sql.SQLException
java.io.IOException
public void setDataBaseUrl(java.util.Properties dbconfig, java.lang.String host, java.lang.String port, java.lang.String database, java.lang.String timeZone) throws java.io.IOException, java.net.URISyntaxException
setDataBaseUrl
在类中 AbstractCmsUpgrader
java.io.IOException
java.net.URISyntaxException
public java.util.List<java.lang.String> getVersionList()
getVersionList
在类中 AbstractCmsUpgrader
public int getDefaultPort()
getDefaultPort
在类中 AbstractCmsUpgrader
public java.util.List<java.lang.String> getOldDatabaseConfigVersionList()
getOldDatabaseConfigVersionList
在类中 AbstractCmsUpgrader