public class AdminManagerAction extends BaseAppAction
This Action defines the following key: parameterfile_dir
. If
this key is bound to a value, then the parameterfile
key will
be ignored, and the value of parameterfile_dir
will be used as
the directory with .adm files to execute.
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_FILE_DIR
Directory with .adm files to execute.
|
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 |
---|
AdminManagerAction()
Creates a new AdminManagerAction.
|
AdminManagerAction(String parameterfile)
Creates a new AdminManagerAction that will execute the
given AdminManager script (.adm file).
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(String[] args)
Executes AdminManager, given arguments.
|
void |
setParameterFileDirectory(String dir)
Sets the "parameterfile_dir" parameter used by this action.
|
failed, getArgs, perform, removeParameter, setErrorFile, setForSchemaUpgrade, setIncludePath, setParameter, setParameterFile, setPassword, setSchemaPassword, setService, setTraceFile, setUser, stop
getDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptions
public static final String PARAMETER_FILE_DIR
public AdminManagerAction()
public AdminManagerAction(String parameterfile)
parameterfile
- the AdminManager script to execute.public void setParameterFileDirectory(String dir)
dir
- the directory with .adm files that should be executed.protected void execute(String[] args) throws IfsException
execute
in class BaseAppAction
args
- the arguments that should be passed to AdminManager.IfsException
Copyright © 2023. All rights reserved.