public class UpdateUpgradeStatusAction extends JDBCAction
NOLOG
CONTINUE_ON_ERROR, m_defaultOptions, m_options
APPEND_LOG, DATABASE_TYPE, DATABASE_URL, DB_USER_NAME, DB_USER_PASSWORD, DOMAIN_TYPE, ENABLE_SSL_SUPPORT, FOR_SCHEMA_UPGRADE, IFS_DOMAIN_DISPLAY_NAME, IFS_DOMAIN_NAME, IFS_SCHEMA_NAME, IFS_SCHEMA_PASSWORD, IFS_SERVICE_NAME, IFS_USER_NAME, IFS_USER_PASSWORD, INCLUDE_PATH, INITIAL_CONTEXT_FACTORY, LDAP_URL_DAS_LOOKUP, LDAP_USER_NAME, LDAP_USER_PASSWORD, OUTPUT_FILE, PARAMETER_FILE, REGISTRY, SCHEMA_VERSION_KEY, SECURITY_PROTOCOL_NAME, SERVICE_CONFIGURATION_NAME
Constructor and Description |
---|
UpdateUpgradeStatusAction() |
UpdateUpgradeStatusAction(String user,
String pass,
String url,
int count,
String actionsFile)
Creates a new UpdateUpgradeStatusAction.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(Connection con)
Updates the upgrade status table.
|
void |
failed(Throwable error)
Does nothing.
|
void |
stop()
Does nothing.
|
perform, setDatabaseUrl, setPassword, setUser
getDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptions
public UpdateUpgradeStatusAction(String user, String pass, String url, int count, String actionsFile)
user
- the database user/schema name to connect to.pass
- the user's password.url
- the database URL.count
- actionsFile
- public UpdateUpgradeStatusAction()
public void execute(Connection con) throws ActionFailedException
execute
in class JDBCAction
con
- the Connection to use.SQLException
- if a database error occurs.ActionFailedException
- if any other error occurs.public void stop()
public void failed(Throwable error)
error
- the error that occurred.Copyright © 2023. All rights reserved.