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) Iftrueis given, one of the arguments in this group must be specified otherwise error will be issued.Methods inherited from interface ArgumentContainer
addArgument
-
Method Details
-
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
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
-