Module com.github.rvesse.airline
Annotation Interface MutuallyExclusiveWith
Annotation that indicates that you optionally permit one option from some set
of options to be present, the set of options are identified by a user defined
tag.
By using the same tag across several annotated options you can state that you
require only one of those options to be present. This is a less restrictive
version of RequireOnlyOne
that means that all the options in the set
are optional but if any are present then only one from the set may be
present. If you require one/more from some set of options you should instead
use the less restrictive RequireSome
.
-
Optional Element Summary
Optional Elements
-
Element Details
-
tag
String tagProvides a tag used to identify some set of options- Returns:
- Tag
- Default:
""
-