Uses of Class
picocli.CommandLine.Model.ArgGroupSpec
Packages that use CommandLine.Model.ArgGroupSpec
Package
Description
Provides classes and interfaces for the main picocli command line parsing and
autocompletion
functionality.-
Uses of CommandLine.Model.ArgGroupSpec in picocli
Methods in picocli that return CommandLine.Model.ArgGroupSpecModifier and TypeMethodDescriptionCommandLine.Model.ArgGroupSpec.Builder.build()
Returns a validArgGroupSpec
instance.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.ParseResult.GroupMatch.group()
Returns theArgGroupSpec
of the containerGroupMatchContainer
of this match.CommandLine.ParseResult.GroupMatchContainer.group()
Returns theArgGroupSpec
whose matches are captured in thisGroupMatchContainer
.CommandLine.Model.ArgGroupSpec.messages
(CommandLine.Model.Messages msgs) Sets the Messages for this ArgGroupSpec, and returns this 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.ArgGroupSpecModifier and TypeMethodDescriptionCommandLine.Model.CommandSpec.argGroups()
Returns the argument groups in this command.CommandLine.ParseResult.GroupMatch.matchedSubgroups()
Returns matches for the subgroups, if any.CommandLine.Help.optionSectionGroups()
Returns the list ofArgGroupSpec
instances in this command that have a non-null
heading, most deeply nested argument groups first.CommandLine.Model.ArgGroupSpec.Builder.subgroups()
Returns the list of subgroups that this group is composed of.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.ArgGroupSpecModifier and TypeMethodDescriptionCommandLine.Model.CommandSpec.addArgGroup
(CommandLine.Model.ArgGroupSpec group) Adds the specified argument group to the groups in this command.CommandLine.Model.ArgGroupSpec.Builder.addSubgroup
(CommandLine.Model.ArgGroupSpec group) Adds the specified group to the list of subgroups that this group is composed of.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.