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.picocli.codegen.aot.graalvm picocli.codegen.docgen.manpage -
-
Uses of CommandLine.Model.ArgGroupSpec in picocli
Fields in picocli declared as CommandLine.Model.ArgGroupSpec Modifier and Type Field Description private CommandLine.Model.ArgGroupSpec
CommandLine.Model.ArgSpec. group
private CommandLine.Model.ArgGroupSpec
CommandLine.ParseResult.GroupMatchContainer. group
private CommandLine.Model.ArgGroupSpec
CommandLine.Model.ArgGroupSpec. parentGroup
Fields in picocli with type parameters of type CommandLine.Model.ArgGroupSpec Modifier and Type Field Description private java.util.List<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.CommandSpec. groups
(package private) java.util.Map<CommandLine.Model.ArgGroupSpec,CommandLine.ParseResult.GroupMatchContainer>
CommandLine.ParseResult.GroupMatch. matchedSubgroups
private java.util.List<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.ArgGroupSpec.Builder. subgroups
private java.util.List<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.ArgGroupSpec. subgroups
private java.util.List<CommandLine.Model.ArgGroupSpec>
CommandLine.ParseResult.GroupMatchContainer. unmatchedSubgroups
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.private static CommandLine.Model.ArgGroupSpec
CommandLine.Model.CommandReflection. buildArgGroupForMember(CommandLine.Model.IAnnotatedElement member, CommandLine.IFactory factory, CommandLine.Model.CommandSpec commandSpec)
(package private) static CommandLine.Model.ArgGroupSpec
CommandLine.Model.CommandReflection. extractArgGroupSpec(CommandLine.Model.IAnnotatedElement member, CommandLine.IFactory factory, CommandLine.Model.CommandSpec commandSpec, boolean annotationsAreMandatory)
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 java.util.List<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.CommandSpec. argGroups()
Returns the argument groups in this command.private java.util.Set<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.CommandSpec. flatten(java.util.Collection<CommandLine.Model.ArgGroupSpec> groups, java.util.Set<CommandLine.Model.ArgGroupSpec> result)
private java.util.Set<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.CommandSpec. flatten(CommandLine.Model.ArgGroupSpec group, java.util.Set<CommandLine.Model.ArgGroupSpec> result)
java.util.Map<CommandLine.Model.ArgGroupSpec,CommandLine.ParseResult.GroupMatchContainer>
CommandLine.ParseResult.GroupMatch. matchedSubgroups()
Returns matches for the subgroups, if any.java.util.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.java.util.List<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.ArgGroupSpec.Builder. subgroups()
Returns the list of subgroups that this group is composed of.java.util.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.private CommandLine.Model.CommandSpec
CommandLine.Model.CommandSpec. addArgGroup(CommandLine.Model.ArgGroupSpec group, java.util.Set<CommandLine.Model.OptionSpec> groupOptions, java.util.Set<CommandLine.Model.PositionalParamSpec> groupPositionals)
private void
CommandLine.Model.CommandSpec. addGroupArgsToCommand(CommandLine.Model.ArgGroupSpec group, java.util.Map<java.lang.String,CommandLine.Model.ArgGroupSpec> added, java.util.Set<CommandLine.Model.OptionSpec> groupOptions, java.util.Set<CommandLine.Model.PositionalParamSpec> groupPositionals)
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.private void
CommandLine.Interpreter. applyGroupDefaults(CommandLine.IDefaultValueProvider defaultValueProvider, CommandLine.Model.ArgGroupSpec group, java.util.List<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized)
private void
CommandLine.Model.CommandSpec. check(CommandLine.Model.ArgGroupSpec group, java.util.Set<CommandLine.Model.ArgGroupSpec> existing)
private void
CommandLine.Interpreter. clear(CommandLine.Model.ArgGroupSpec group)
private CommandLine.ParseResult.GroupMatchContainer
CommandLine.ParseResult.GroupMatchContainer. createGroupMatchContainer(CommandLine.Model.ArgGroupSpec group, CommandLine.ParseResult.GroupMatchContainer parent, CommandLine commandLine)
(package private) CommandLine.ParseResult.GroupMatchContainer
CommandLine.ParseResult.GroupMatchContainer. findLastMatchContainer(CommandLine.Model.ArgGroupSpec group)
(package private) java.util.List<CommandLine.ParseResult.GroupMatchContainer>
CommandLine.ParseResult.GroupMatchContainer. findMatchContainers(CommandLine.Model.ArgGroupSpec group, java.util.List<CommandLine.ParseResult.GroupMatchContainer> result)
java.util.List<CommandLine.ParseResult.GroupMatchContainer>
CommandLine.ParseResult. findMatches(CommandLine.Model.ArgGroupSpec group)
Returns the matches for the specified argument group.private java.util.Set<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.CommandSpec. flatten(CommandLine.Model.ArgGroupSpec group, java.util.Set<CommandLine.Model.ArgGroupSpec> result)
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.(package private) void
CommandLine.ParseResult.GroupMatchContainer. updateUnmatchedGroups(CommandLine.Model.ArgGroupSpec group)
private static void
CommandLine.Model.CommandReflection. validateArgGroupSpec(CommandLine.Model.ArgGroupSpec result, boolean hasArgAnnotation, java.lang.String className)
Method parameters in picocli with type arguments of type CommandLine.Model.ArgGroupSpec Modifier and Type Method Description private void
CommandLine.Model.CommandSpec. addGroupArgsToCommand(CommandLine.Model.ArgGroupSpec group, java.util.Map<java.lang.String,CommandLine.Model.ArgGroupSpec> added, java.util.Set<CommandLine.Model.OptionSpec> groupOptions, java.util.Set<CommandLine.Model.PositionalParamSpec> groupPositionals)
private void
CommandLine.Model.CommandSpec. check(CommandLine.Model.ArgGroupSpec group, java.util.Set<CommandLine.Model.ArgGroupSpec> existing)
private java.util.Set<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.CommandSpec. flatten(java.util.Collection<CommandLine.Model.ArgGroupSpec> groups, java.util.Set<CommandLine.Model.ArgGroupSpec> result)
private java.util.Set<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.CommandSpec. flatten(java.util.Collection<CommandLine.Model.ArgGroupSpec> groups, java.util.Set<CommandLine.Model.ArgGroupSpec> result)
private java.util.Set<CommandLine.Model.ArgGroupSpec>
CommandLine.Model.CommandSpec. flatten(CommandLine.Model.ArgGroupSpec group, java.util.Set<CommandLine.Model.ArgGroupSpec> result)
private java.lang.String
CommandLine.Help. optionListGroupSections(java.util.List<CommandLine.Model.ArgGroupSpec> groupList, java.util.Comparator<CommandLine.Model.OptionSpec> optionSort, CommandLine.Help.IParamLabelRenderer paramLabelRenderer)
private static void
CommandLine.Help. optionSectionGroups(java.util.List<CommandLine.Model.ArgGroupSpec> groups, java.util.List<CommandLine.Model.ArgGroupSpec> result)
private boolean
CommandLine.ParseResult.GroupMatchContainer. simplifyErrorMessageForSingleGroup(java.util.Map<CommandLine.Model.ArgGroupSpec,java.util.List<java.util.List<CommandLine.ParseResult.GroupMatch>>> matchesPerGroup, CommandLine commandLine)
Constructors in picocli with parameters of type CommandLine.Model.ArgGroupSpec Constructor Description GroupMatchContainer(CommandLine.Model.ArgGroupSpec group, CommandLine cmd)
-
Uses of CommandLine.Model.ArgGroupSpec in picocli.codegen.aot.graalvm
Methods in picocli.codegen.aot.graalvm with parameters of type CommandLine.Model.ArgGroupSpec Modifier and Type Method Description private void
ReflectionConfigGenerator.Visitor. visitGroupSpec(CommandLine.Model.ArgGroupSpec group)
-
Uses of CommandLine.Model.ArgGroupSpec in picocli.codegen.docgen.manpage
Methods in picocli.codegen.docgen.manpage that return types with arguments of type CommandLine.Model.ArgGroupSpec Modifier and Type Method Description private static java.util.List<CommandLine.Model.ArgGroupSpec>
ManPageGenerator. optionListGroups(CommandLine.Model.CommandSpec commandSpec)
Returns the list ofArgGroupSpec
s with a non-null
heading.Method parameters in picocli.codegen.docgen.manpage with type arguments of type CommandLine.Model.ArgGroupSpec Modifier and Type Method Description private static void
ManPageGenerator. optionListGroups(java.util.List<CommandLine.Model.ArgGroupSpec> groups, java.util.List<CommandLine.Model.ArgGroupSpec> result)
-