Module net.sourceforge.argparse4j
Package net.sourceforge.argparse4j.inf
Interface MutuallyExclusiveGroup
- All Superinterfaces:
ArgumentContainer
- All Known Implementing Classes:
ArgumentGroupImpl
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) Sets the description for the arguments of this container.required
(boolean required) Iftrue
is given, one of the arguments in this group must be specified otherwise error will be issued.Methods inherited from interface net.sourceforge.argparse4j.inf.ArgumentContainer
addArgument
-
Method Details
-
description
Description copied from interface:ArgumentContainer
Sets the description for the arguments of this container.- Specified by:
description
in interfaceArgumentContainer
- Parameters:
description
- The description of this container.- Returns:
- this
-
required
If
true
is given, one of the arguments in this group must be specified otherwise error will be issued.The default value is
false
.- Parameters:
required
-true
orfalse
- Returns:
- this
-