Module net.sourceforge.argparse4j
Package net.sourceforge.argparse4j.inf
Interface MutuallyExclusiveGroup
-
- All Superinterfaces:
ArgumentContainer
- All Known Implementing Classes:
ArgumentGroupImpl
public interface MutuallyExclusiveGroup extends ArgumentContainer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MutuallyExclusiveGroup
description(java.lang.String description)
Sets the description for the arguments of this container.MutuallyExclusiveGroup
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 Detail
-
description
MutuallyExclusiveGroup description(java.lang.String 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
MutuallyExclusiveGroup required(boolean 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
-
-