Class MultipleUninstallDriver
- java.lang.Object
-
- com.sun.identity.install.tools.configurator.Driver
-
- com.sun.identity.install.tools.configurator.MultipleUninstallDriver
-
- All Implemented Interfaces:
ICommonToolsConstants,InstallConstants
public class MultipleUninstallDriver extends Driver
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.identity.install.tools.configurator.Driver
Driver.ExecutionStatus
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOC_DR_ERR_NOT_CONFIGURED_INSTField LOC_DR_ERR_ALREADY_CONFIGURED_INST *static StringLOC_DR_MSG_UNINSTALL_LOG_FILE_PATHstatic StringLOC_DR_MSG_UNINSTALL_LOG_VERSION_DESCstatic StringLOC_DR_MSG_UNINSTALL_LOG_VERSION_DESC_LINEstatic StringLOC_DR_MSG_USER_ABORTstatic StringLOC_HR_ERR_UNINSTALL_PRODUCT_EX_MSGstatic StringLOC_HR_MSG_UNINSTALL_ALL_NONE_FOUNDstatic StringLOC_HR_MSG_UNINSTALL_PRODUCT_BEGIN_MSG-
Fields inherited from class com.sun.identity.install.tools.configurator.Driver
INT_EXIT_LOOP, INT_RUN_DISPLAY_SUMMARY, INT_RUN_IFINDER_INTERACTIONS, INT_RUN_INTERACTIONS, LOC_DR_MSG_PRODUCT_AGENT_TAGS_FILE_NAME, LOC_DR_MSG_PRODUCT_AUDIT_DIR, LOC_DR_MSG_PRODUCT_CONFIG_FILE_NAME, LOC_DR_MSG_PRODUCT_DEBUG_DIR, LOC_DR_MSG_PRODUCT_INSTANCE_NAME, LOC_DR_MSG_SUMM_INFO_BEGIN, LOC_DR_MSG_SUMM_INFO_BEGIN_LINE, LOC_DR_MSG_SUMM_INFO_END, LOC_DR_MSG_VERSION_INFO
-
Fields inherited from interface com.sun.identity.install.tools.admin.ICommonToolsConstants
FILE_SEP, INSTANCE_AUDIT_DIR_NAME, INSTANCE_CONFIG_DIR_NAME, INSTANCE_DEBUG_DIR_NAME, INSTANCE_LIB_DIR_NAME, INSTANCE_LOCALE_DIR_NAME, INSTANCE_LOGS_DIR_NAME, LINE_SEP
-
Fields inherited from interface com.sun.identity.install.tools.configurator.InstallConstants
INT_OPERATION_TYPE_REGULAR, INT_OPERATION_TYPE_SAVE_RESPONSE, INT_OPERATION_TYPE_USE_RESPONSE, LOC_DR_ERR_APP_SERVER_HOME_LOCATOR, LOC_DR_ERR_CORRUPT_PRODUCT_INSTALL, LOC_DR_ERR_INVALID_INSTALL_HOME, LOC_DR_ERR_PRODUCT_ALREADY_MIGRATED, LOC_DR_ERR_PRODUCT_LOCATOR_BACKUP, LOC_DR_ERR_PRODUCT_LOCATOR_READ, LOC_DR_ERR_PRODUCT_LOCATOR_WRITE, LOC_DR_MSG_PRODUCT_SUMM_INFO_BEGIN, LOC_DR_MSG_PRODUCT_SUMM_INFO_BEGIN_LINE, LOC_DR_MSG_PRODUCT_SUMM_INFO_END, LOC_IS_ERR_LOAD_INSTALL_STATE, LOC_IS_ERR_SAVE_INSTALL_STATE, STR_AUDIT_DIR_PREFIX_TAG, STR_BEGIN_END_LINE_MARKER, STR_CONFIG_AGENT_CONFIG_FILE_PATH_TAG, STR_CONFIG_AGENT_MIGRATE_FILE_PATH_TAG, STR_CONFIG_DIR_PREFIX_MIGRATE_TAG, STR_CONFIG_DIR_PREFIX_TAG, STR_CONFIG_FILE_PATH_TAG, STR_CREATE_AGENT_PROFILE_KEY, STR_CREATE_AGENT_PROFILE_NAME, STR_CUSTOM, STR_DEBUG_DIR_PREFIX_TAG, STR_INSTALL, STR_INSTANCE_NAME_MIGRATE_TAG, STR_IS_GLOBAL_DATA_ID, STR_LOG_CONFIG_FILE_PATH, STR_LOG_CONFIG_FILENAME, STR_MIGRATE, STR_SAVE_AGENT_INSTANCE_NAME_KEY, STR_SAVE_REMOTE_AGENT_INSTALL_DIR_KEY, STR_UNINSTALL, STR_VERSION_FILE_NAME
-
-
Constructor Summary
Constructors Constructor Description MultipleUninstallDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckInstanceConfiguration(InstallState installState)voidexecuteInteractionsAndTasks(com.sun.identity.install.tools.configurator.InstFinderInteractionsRunner iFinderRunner, com.sun.identity.install.tools.configurator.InteractionsRunner iRunner, InstallLogger uninstallLog)voiduninstall(int operationType, InstallLogger uninstallLog, String fileName)voiduninstallInternal(int operationType, com.sun.identity.install.tools.configurator.InstFinderInteractionsRunner iFinderRunner, InstallLogger uninstallLog)voidupdateStateInformation(com.sun.identity.install.tools.configurator.InstFinderInteractionsRunner iFinderRunner, com.sun.identity.install.tools.configurator.InteractionsRunner iRunner, InstallLogger uninstallLog)-
Methods inherited from class com.sun.identity.install.tools.configurator.Driver
createResponseFile, displaySummary, executeAllInteractions, executeIFinderInteractions, executeInstanceInteractions, getInstallState, getLogFilePathMessage, getOperationType, getRunInfo, getServerLocatorHandler, isSilentMode, printConsoleEmptyLine, printConsoleMessage, printConsoleMessage, printConsoleMessageWithMarkers, setInstallState, setMigrateServerLocatorHandler, setOperationType, setRunInfo, setServerLocatorHandler, updateStateAccess, writeSummDispMessToInstLog, writeVersionInfoToLog
-
-
-
-
Field Detail
-
LOC_HR_MSG_UNINSTALL_ALL_NONE_FOUND
public static final String LOC_HR_MSG_UNINSTALL_ALL_NONE_FOUND
- See Also:
- Constant Field Values
-
LOC_HR_MSG_UNINSTALL_PRODUCT_BEGIN_MSG
public static final String LOC_HR_MSG_UNINSTALL_PRODUCT_BEGIN_MSG
- See Also:
- Constant Field Values
-
LOC_HR_ERR_UNINSTALL_PRODUCT_EX_MSG
public static final String LOC_HR_ERR_UNINSTALL_PRODUCT_EX_MSG
- See Also:
- Constant Field Values
-
LOC_DR_MSG_USER_ABORT
public static final String LOC_DR_MSG_USER_ABORT
- See Also:
- Constant Field Values
-
LOC_DR_ERR_NOT_CONFIGURED_INST
public static final String LOC_DR_ERR_NOT_CONFIGURED_INST
Field LOC_DR_ERR_ALREADY_CONFIGURED_INST *- See Also:
- Constant Field Values
-
LOC_DR_MSG_UNINSTALL_LOG_FILE_PATH
public static final String LOC_DR_MSG_UNINSTALL_LOG_FILE_PATH
- See Also:
- Constant Field Values
-
LOC_DR_MSG_UNINSTALL_LOG_VERSION_DESC
public static final String LOC_DR_MSG_UNINSTALL_LOG_VERSION_DESC
- See Also:
- Constant Field Values
-
LOC_DR_MSG_UNINSTALL_LOG_VERSION_DESC_LINE
public static final String LOC_DR_MSG_UNINSTALL_LOG_VERSION_DESC_LINE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MultipleUninstallDriver
public MultipleUninstallDriver() throws InstallException- Throws:
InstallException
-
-
Method Detail
-
uninstall
public void uninstall(int operationType, InstallLogger uninstallLog, String fileName) throws InstallException- Throws:
InstallException
-
uninstallInternal
public void uninstallInternal(int operationType, com.sun.identity.install.tools.configurator.InstFinderInteractionsRunner iFinderRunner, InstallLogger uninstallLog) throws InstallException- Throws:
InstallException
-
updateStateInformation
public void updateStateInformation(com.sun.identity.install.tools.configurator.InstFinderInteractionsRunner iFinderRunner, com.sun.identity.install.tools.configurator.InteractionsRunner iRunner, InstallLogger uninstallLog) throws InstallException- Throws:
InstallException
-
executeInteractionsAndTasks
public void executeInteractionsAndTasks(com.sun.identity.install.tools.configurator.InstFinderInteractionsRunner iFinderRunner, com.sun.identity.install.tools.configurator.InteractionsRunner iRunner, InstallLogger uninstallLog) throws InstallException- Throws:
InstallException
-
checkInstanceConfiguration
public void checkInstanceConfiguration(InstallState installState) throws InstallException
- Specified by:
checkInstanceConfigurationin classDriver- Throws:
InstallException
-
-