| | |
| | | BooleanArgument isCompressed = null; |
| | | BooleanArgument isEncrypted = null; |
| | | BooleanArgument overwriteRejects = null; |
| | | BooleanArgument quietMode = null; |
| | | BooleanArgument replaceExisting = null; |
| | | BooleanArgument skipSchemaValidation = null; |
| | | StringArgument backendID = null; |
| | |
| | | argParser.addArgument(isEncrypted); |
| | | |
| | | |
| | | quietMode = new BooleanArgument("quietmode", 'q', "quiet", |
| | | MSGID_LDIFIMPORT_DESCRIPTION_QUIET); |
| | | argParser.addArgument(quietMode); |
| | | |
| | | |
| | | displayUsage = |
| | | new BooleanArgument("help", 'H', "help", |
| | | MSGID_LDIFIMPORT_DESCRIPTION_USAGE); |
| | |
| | | } |
| | | |
| | | |
| | | // FIXME -- Install a custom logger to capture information about the state |
| | | // of the import. |
| | | StartupErrorLogger startupLogger = new StartupErrorLogger(); |
| | | startupLogger.initializeErrorLogger(null); |
| | | addErrorLogger(startupLogger); |
| | | if (! quietMode.isPresent()) |
| | | { |
| | | // FIXME -- Install a custom logger to capture information about the state |
| | | // of the import. |
| | | StartupErrorLogger startupLogger = new StartupErrorLogger(); |
| | | startupLogger.initializeErrorLogger(null); |
| | | addErrorLogger(startupLogger); |
| | | } |
| | | |
| | | |
| | | // Initialize all the password policy information. |