Uses of Class
picocli.CommandLine.Model.ArgGroupSpec
-
Packages that use CommandLine.Model.ArgGroupSpec Package Description picocli Provides classes and interfaces for the main picocli command line parsing andautocompletion
functionality. -
-
Uses of CommandLine.Model.ArgGroupSpec in picocli
Methods in picocli that return CommandLine.Model.ArgGroupSpec Modifier and Type Method Description CommandLine.Model.ArgGroupSpec
CommandLine.Model.ArgGroupSpec.Builder. build()
Returns a validArgGroupSpec
instance.CommandLine.Model.ArgGroupSpec
CommandLine.Model.ArgSpec. group()
Returns the groups this option or positional parameter belongs to, ornull
if this option is not part of a group.CommandLine.Model.ArgGroupSpec
CommandLine.ParseResult.GroupMatch. group()
Returns theArgGroupSpec
of the containerGroupMatchContainer
of this match.CommandLine.Model.ArgGroupSpec
CommandLine.ParseResult.GroupMatchContainer. group()
Returns theArgGroupSpec
whose matches are captured in thisGroupMatchContainer
.CommandLine.Model.ArgGroupSpec
CommandLine.Model.ArgGroupSpec. messages(CommandLine.Model.Messages msgs)
Sets the Messages for this ArgGroupSpec, and returns this ArgGroupSpec.CommandLine.Model.ArgGroupSpec
CommandLine.Model.ArgGroupSpec. parentGroup()
Returns the parent group that this group is part of, ornull
if this group is not part of a composite.Methods in picocli that return types with arguments of type CommandLine.Model.ArgGroupSpec Modifier and Type Method Description List<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.CommandSpec. argGroups()
Returns the argument groups in this command.Map<CommandLine.Model.ArgGroupSpec,CommandLine.ParseResult.GroupMatchContainer>
CommandLine.ParseResult.GroupMatch. matchedSubgroups()
Returns matches for the subgroups, if any.List<CommandLine.Model.ArgGroupSpec>
CommandLine.Help. optionSectionGroups()
Returns the list ofArgGroupSpec
instances in this command that have a non-null
heading, most deeply nested argument groups first.List<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.ArgGroupSpec.Builder. subgroups()
Returns the list of subgroups that this group is composed of.List<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.ArgGroupSpec. subgroups()
Return the subgroups that this group is composed of; may be empty but notnull
.Methods in picocli with parameters of type CommandLine.Model.ArgGroupSpec Modifier and Type Method Description CommandLine.Model.CommandSpec
CommandLine.Model.CommandSpec. addArgGroup(CommandLine.Model.ArgGroupSpec group)
Adds the specified argument group to the groups in this command.CommandLine.Model.ArgGroupSpec.Builder
CommandLine.Model.ArgGroupSpec.Builder. addSubgroup(CommandLine.Model.ArgGroupSpec group)
Adds the specified group to the list of subgroups that this group is composed of.List<CommandLine.ParseResult.GroupMatchContainer>
CommandLine.ParseResult. findMatches(CommandLine.Model.ArgGroupSpec group)
Returns the matches for the specified argument group.boolean
CommandLine.Model.ArgGroupSpec. isSubgroupOf(CommandLine.Model.ArgGroupSpec group)
Returnstrue
if this group is a subgroup (or a nested sub-subgroup, to any level of depth) of the specified group,false
otherwise.
-