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 validArgGroupSpecinstance.CommandLine.Model.ArgSpec.group()Returns the groups this option or positional parameter belongs to, ornullif this option is not part of a group.CommandLine.ParseResult.GroupMatch.group()Returns theArgGroupSpecof the containerGroupMatchContainerof this match.CommandLine.ParseResult.GroupMatchContainer.group()Returns theArgGroupSpecwhose 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, ornullif 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 ofArgGroupSpecinstances in this command that have a non-nullheading, 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.booleanCommandLine.Model.ArgGroupSpec.isSubgroupOf(CommandLine.Model.ArgGroupSpec group) Returnstrueif this group is a subgroup (or a nested sub-subgroup, to any level of depth) of the specified group,falseotherwise.