Checkpoint OPENDJ-1343 Migrate dsconfig
- Code cleanup on the StatusCli and UnistallCliHelper as they are linked to the LDAPManagementContextFactory.java which is in the dsconfig package.
- LDAPManagementContextFactory
- Refactored the useStartTLS part.
- StatusCli :
- Replaced Quicksetup return Code by opendj-cli return codes. The argument exception now throws CLIENT_SIDE_PARAM_ERROR(89) resultcode instead of ERROR_UNEXPECTED(1).
- Replaced SUCCESSFUL_NOP(0) by SUCCESS(0).
- Removed enum ErrorReturnCode.
- UninstallerCliHelper.java
- Replaced ApplicationException by ClientException (opendj-cli).
- Replaced import org.opends.quicksetup.ReturnCode by opendj-cli ReturnCode.
- Code cleanup.
- CliApplication add ClientException to createUserData.