| | |
| | | import static com.forgerock.opendj.cli.Utils.*; |
| | | import static com.forgerock.opendj.dsconfig.DsconfigMessages.*; |
| | | import static com.forgerock.opendj.util.StaticUtils.*; |
| | | import static com.forgerock.opendj.cli.CommonArguments.*; |
| | | |
| | | import static org.forgerock.opendj.config.PropertyOption.*; |
| | | import static org.forgerock.opendj.config.dsconfig.ArgumentExceptionFactory.*; |
| | |
| | | import com.forgerock.opendj.cli.CliConstants; |
| | | import com.forgerock.opendj.cli.ClientException; |
| | | import com.forgerock.opendj.cli.CommandBuilder; |
| | | import com.forgerock.opendj.cli.CommonArguments; |
| | | import com.forgerock.opendj.cli.ConnectionFactoryProvider; |
| | | import com.forgerock.opendj.cli.ConsoleApplication; |
| | | import com.forgerock.opendj.cli.Menu; |
| | |
| | | */ |
| | | private void initializeGlobalArguments() throws ArgumentException { |
| | | if (!globalArgumentsInitialized) { |
| | | verboseArgument = CommonArguments.getVerbose(); |
| | | quietArgument = CommonArguments.getQuiet(); |
| | | scriptFriendlyArgument = CommonArguments.getScriptFriendly(); |
| | | noPromptArgument = CommonArguments.getNoPrompt(); |
| | | advancedModeArgument = CommonArguments.getAdvancedMode(); |
| | | showUsageArgument = CommonArguments.getShowUsage(); |
| | | verboseArgument = verboseArgument(); |
| | | quietArgument = quietArgument(); |
| | | scriptFriendlyArgument = scriptFriendlyArgument(); |
| | | noPromptArgument = noPromptArgument(); |
| | | advancedModeArgument = advancedModeArgument(); |
| | | showUsageArgument = showUsageArgument(); |
| | | |
| | | batchArgument = |
| | | BooleanArgument.builder(OPTION_LONG_BATCH) |