public class InactivateAgentsAction extends LibrarySessionAction
RESTART_SERVICE
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 |
---|
InactivateAgentsAction() |
Modifier and Type | Method and Description |
---|---|
void |
execute(LibrarySession session)
Perform the upgrade.
|
void |
failed(Throwable error)
Ignored.
|
protected void |
log(String message)
Log a message.
|
static void |
main(String[] args)
Test harness.
|
protected void |
printStackTrace(Throwable t)
Log an exception.
|
void |
stop()
Ignored.
|
perform, setDomain, setForSchemaUpgrade, setPassword, setRestartService, setSchemaPassword, setUser
getDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptions
public void stop()
public void failed(Throwable error)
error
- the error that occuredpublic void execute(LibrarySession session) throws ActionFailedException
execute
in class LibrarySessionAction
session
- the sessionIfsException
- if the operation failsActionFailedException
- if the operation failsprotected void printStackTrace(Throwable t)
t
- the Throwable to logprotected void log(String message)
message
- the message to logCopyright © 2023. All rights reserved.