mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Violette Roche-Montane
03.42.2013 06dc34882e70da6158464bfb18dd30ef86e1bc1d
refs
author Violette Roche-Montane <violette.roche-montane@forgerock.com>
Monday, June 3, 2013 09:42 +0200
committer Violette Roche-Montane <violette.roche-montane@forgerock.com>
Monday, June 3, 2013 09:42 +0200
commit06dc34882e70da6158464bfb18dd30ef86e1bc1d
tree d4841a1debdbb5f52fed23caf7138fb840cfa675 tree | zip | gz
parent 5a872b4517410def8b08290ebd0645b053be4e32 view | diff
CR-1777-OPENDJ - Upgrade code cleanup
- The upgrade context is now set in the CLI.
- The upgrade context contains now the callback handler
which simplify all the function (removed all calls to callbackhandler, functions just need the context at this point).
- The context contains the CLI user selected options
which simplify the code, removed the CheckCLIUserOption, the task have just to check the context for those parameters.
- Removed the useless VerificationCallback.java
- Added a TaskType in UpgradeTask.java.
- Added function verifyTaskType in UpgradeTasks.java which verify user selected options are correct.
- Modified tools.properties message numbers
1 files deleted
7 files modified
996 ■■■■■ changed files
opends/src/messages/messages/tools.properties 74 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/upgrade/AbstractUpgradeTask.java 10 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/upgrade/Upgrade.java 114 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/upgrade/UpgradeCli.java 87 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/upgrade/UpgradeContext.java 181 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/upgrade/UpgradeTask.java 53 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java 358 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/upgrade/VerificationCallback.java 119 ●●●●● diff | view | raw | blame | history