public interface MutuallyExclusiveGroup extends ArgumentContainer
Modifier and Type | Method and Description |
---|---|
MutuallyExclusiveGroup |
description(String description)
Sets the description for the arguments of this container.
|
MutuallyExclusiveGroup |
required(boolean required)
If
true is given, one of the arguments in this group must be
specified otherwise error will be issued. |
addArgument
MutuallyExclusiveGroup description(String description)
ArgumentContainer
description
in interface ArgumentContainer
description
- The description of this container.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
.
required
- true
or false
Copyright © 2012–2017. All rights reserved.