OpenDJ Server 4.0.0 Documentation

@PublicAPI(stability=PRIVATE)

Package org.opends.server.util.args

Provides an implementation of a utility that can manage the processing of command-line arguments for an application.

See: Description

Package org.opends.server.util.args Description

Provides an implementation of a utility that can manage the processing of command-line arguments for an application. This class centralizes a significant amount of processing so that it does not need to be repeated in all tools requiring this kind of functionality, as well as helping to ensure that the interaction with program arguments is in compliance with Sun's CLIP specification.

Features offered by this argument parsing implementation include:

A second version of the argument parser is also available which does not include support for trailing arguments but does include support for the use of subcommands. In this case, you can define a number of subcommands each with their own set of arguments. This can be used for cases in which one umbrella utility has a number of different capabilities (e.g., the "cvs" command has a number of sub-commands like "checkout" and "commit" and "diff", each of which has its own set of options).
OpenDJ Server 4.0.0 Documentation

Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.