public class JavaPropertiesToolArgumentParser extends com.forgerock.opendj.cli.ArgumentParser
Constructor and Description |
---|
JavaPropertiesToolArgumentParser(String mainClassName)
The default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void |
initializeArguments()
Initializes the arguments without parsing them.
|
void |
parseArguments(String[] args) |
addArgument, addArgument, addDefaultArgument, addLdapConnectionArgument, displayMessageAndUsageReference, getArgumentForLongID, getArgumentList, getBindPassword, getDocSubcommandsDescriptionSupplement, getDocToolDescriptionSupplement, getHelpUsageReference, getOptionsRefSect1, getShortToolDescription, getTrailingArguments, getUsage, getUsageMessage, isUsageArgumentPresent, isVersionArgumentPresent, parseArguments, parseArguments, setDocSubcommandsDescriptionSupplement, setDocToolDescriptionSupplement, setFilePropertiesArgument, setNoPropertiesFileArgument, setShortToolDescription, setUsageArgument, setUsageArgument, setUsageOrVersionDisplayed, setVersionHandler, usageOrVersionDisplayed
public JavaPropertiesToolArgumentParser(String mainClassName)
mainClassName
- the class name of the main class for the command-line
that is being used.public void initializeArguments() throws com.forgerock.opendj.cli.ArgumentException
com.forgerock.opendj.cli.ArgumentException
- if there was an error creating or adding the
arguments. If this occurs is likely to be a bug.public void parseArguments(String[] args) throws com.forgerock.opendj.cli.ArgumentException
parseArguments
in class com.forgerock.opendj.cli.ArgumentParser
com.forgerock.opendj.cli.ArgumentException
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.