public final class ReplicationCliArgumentParser
extends com.forgerock.opendj.cli.SubCommandArgumentParser
com.forgerock.opendj.cli.SubCommandArgumentParser.SubCommandArgumentParserBuilder
com.forgerock.opendj.cli.ArgumentParser.ArgumentParserBuilder, com.forgerock.opendj.cli.ArgumentParser.Builder<P extends com.forgerock.opendj.cli.ArgumentParser,B extends com.forgerock.opendj.cli.ArgumentParser.Builder<P,B>>
Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURE_REPLICATION_SUBCMD_NAME
The text of the configure replication subcommand.
|
Modifier and Type | Method and Description |
---|---|
String |
getAdministratorUID()
Returns the Administrator UID explicitly provided in the command-line.
|
Set<Dn> |
getBaseDNs()
Returns the list of base DNs provided by the user with the selected
SubCommand or an empty set if either
no subcommand has been selected, the subcommand does not accept the option or the option
has not been provided on the command line. |
int |
getConnectTimeout()
Returns the timeout to be used to connect in milliseconds.
|
ApplicationTrustManager |
getTrustManager()
Handle TrustStore.
|
boolean |
isQuiet()
Tells whether the user specified to have a quite operation or not.
|
addArgument, builder, defaultSubCommand, getSelectedSubCommand, getSubCommand, getSubCommands, setUsageArgument, setUsageGroupArgument
addArgument, addDefaultArgument, deprecatedParseArguments, getArgumentForLongId, getArguments, getBindPassword, getDocSubcommandsDescriptionSupplement, getDocToolDescriptionSupplement, getLdapConnectionArguments, getScriptNameOrJava, getShortToolDescription, getTrailingArguments, noPromptArgument, setDocSubcommandsDescriptionSupplement, setDocToolDescriptionSupplement, setShortToolDescription, setVersionHandler, usageOrVersionDisplayed
public static final String CONFIGURE_REPLICATION_SUBCMD_NAME
public boolean isQuiet()
true
if the user specified to have a quite operation and false
otherwise.public String getAdministratorUID()
public int getConnectTimeout() throws IllegalStateException
0
if there is no timeout.IllegalStateException
- if the method is called before parsing the arguments.public Set<Dn> getBaseDNs()
SubCommand
or an empty set if either
no subcommand has been selected, the subcommand does not accept the option or the option
has not been provided on the command line.
Since OPENDJ-3804 the option is local to sub-commands.
SubCommand
or an empty set if either
no subcommand has been selected, the subcommand does not accept the option or the option
has not been provided on the command line.public ApplicationTrustManager getTrustManager()
Copyright 2010-2022 ForgeRock AS.