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 MutuallyExclusiveGroupdescription(java.lang.String description)Sets the description for the arguments of this container.MutuallyExclusiveGrouprequired(boolean required)Iftrueis 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:ArgumentContainerSets the description for the arguments of this container.- Specified by:
descriptionin interfaceArgumentContainer- Parameters:
description- The description of this container.- Returns:
- this
-
required
MutuallyExclusiveGroup required(boolean required)
If
trueis given, one of the arguments in this group must be specified otherwise error will be issued.The default value is
false.- Parameters:
required-trueorfalse- Returns:
- this
-
-