/** * Creates a new instance of this argument parser with no arguments. Unnamed trailing arguments * will not be allowed. * * @param mainClassName The fully-qualified name of the Java class that should be invoked to * launch the program with which this argument parser is associated. * @param toolDescription A human-readable description for the tool, which will be included when * displaying usage information. * @param longArgumentsCaseSensitive Indicates whether long arguments should * @param argumentGroup Group to which LDAP arguments will be added to the parser. May be null to * indicate that arguments should be added to the default group * @param alwaysSSL If true, always use the SSL connection type. In this case, the arguments * useSSL and startTLS are not present. */ public LDAPConnectionArgumentParser( String mainClassName, LocalizableMessage toolDescription, boolean longArgumentsCaseSensitive, ArgumentGroup argumentGroup, boolean alwaysSSL) { super(mainClassName, toolDescription, longArgumentsCaseSensitive); addLdapConnectionArguments(argumentGroup, alwaysSSL); setVersionHandler(new DirectoryServerVersionHandler()); }