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 andautocompletionfunctionality.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.ArgGroupSpecCommandLine.Model.ArgSpec. groupprivate CommandLine.Model.ArgGroupSpecCommandLine.ParseResult.GroupMatchContainer. groupprivate CommandLine.Model.ArgGroupSpecCommandLine.Model.ArgGroupSpec. parentGroupFields 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. matchedSubgroupsprivate java.util.List<CommandLine.Model.ArgGroupSpec>CommandLine.Model.ArgGroupSpec.Builder. subgroupsprivate java.util.List<CommandLine.Model.ArgGroupSpec>CommandLine.Model.ArgGroupSpec. subgroupsprivate java.util.List<CommandLine.Model.ArgGroupSpec>CommandLine.ParseResult.GroupMatchContainer. unmatchedSubgroupsMethods in picocli that return CommandLine.Model.ArgGroupSpec Modifier and Type Method Description CommandLine.Model.ArgGroupSpecCommandLine.Model.ArgGroupSpec.Builder. build()Returns a validArgGroupSpecinstance.private static CommandLine.Model.ArgGroupSpecCommandLine.Model.CommandReflection. buildArgGroupForMember(CommandLine.Model.IAnnotatedElement member, CommandLine.IFactory factory, CommandLine.Model.CommandSpec commandSpec)(package private) static CommandLine.Model.ArgGroupSpecCommandLine.Model.CommandReflection. extractArgGroupSpec(CommandLine.Model.IAnnotatedElement member, CommandLine.IFactory factory, CommandLine.Model.CommandSpec commandSpec, boolean annotationsAreMandatory)CommandLine.Model.ArgGroupSpecCommandLine.Model.ArgSpec. group()Returns the groups this option or positional parameter belongs to, ornullif this option is not part of a group.CommandLine.Model.ArgGroupSpecCommandLine.ParseResult.GroupMatch. group()Returns theArgGroupSpecof the containerGroupMatchContainerof this match.CommandLine.Model.ArgGroupSpecCommandLine.ParseResult.GroupMatchContainer. group()Returns theArgGroupSpecwhose matches are captured in thisGroupMatchContainer.CommandLine.Model.ArgGroupSpecCommandLine.Model.ArgGroupSpec. messages(CommandLine.Model.Messages msgs)Sets the Messages for this ArgGroupSpec, and returns this ArgGroupSpec.CommandLine.Model.ArgGroupSpecCommandLine.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.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 ofArgGroupSpecinstances in this command that have a non-nullheading, 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.CommandSpecCommandLine.Model.CommandSpec. addArgGroup(CommandLine.Model.ArgGroupSpec group)Adds the specified argument group to the groups in this command.private CommandLine.Model.CommandSpecCommandLine.Model.CommandSpec. addArgGroup(CommandLine.Model.ArgGroupSpec group, java.util.Set<CommandLine.Model.OptionSpec> groupOptions, java.util.Set<CommandLine.Model.PositionalParamSpec> groupPositionals)private voidCommandLine.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.BuilderCommandLine.Model.ArgGroupSpec.Builder. addSubgroup(CommandLine.Model.ArgGroupSpec group)Adds the specified group to the list of subgroups that this group is composed of.private voidCommandLine.Interpreter. applyGroupDefaults(CommandLine.IDefaultValueProvider defaultValueProvider, CommandLine.Model.ArgGroupSpec group, java.util.List<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized)private voidCommandLine.Model.CommandSpec. check(CommandLine.Model.ArgGroupSpec group, java.util.Set<CommandLine.Model.ArgGroupSpec> existing)private voidCommandLine.Interpreter. clear(CommandLine.Model.ArgGroupSpec group)private CommandLine.ParseResult.GroupMatchContainerCommandLine.ParseResult.GroupMatchContainer. createGroupMatchContainer(CommandLine.Model.ArgGroupSpec group, CommandLine.ParseResult.GroupMatchContainer parent, CommandLine commandLine)(package private) CommandLine.ParseResult.GroupMatchContainerCommandLine.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)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.(package private) voidCommandLine.ParseResult.GroupMatchContainer. updateUnmatchedGroups(CommandLine.Model.ArgGroupSpec group)private static voidCommandLine.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 voidCommandLine.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 voidCommandLine.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.StringCommandLine.Help. optionListGroupSections(java.util.List<CommandLine.Model.ArgGroupSpec> groupList, java.util.Comparator<CommandLine.Model.OptionSpec> optionSort, CommandLine.Help.IParamLabelRenderer paramLabelRenderer)private static voidCommandLine.Help. optionSectionGroups(java.util.List<CommandLine.Model.ArgGroupSpec> groups, java.util.List<CommandLine.Model.ArgGroupSpec> result)private booleanCommandLine.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 voidReflectionConfigGenerator.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 ofArgGroupSpecs with a non-nullheading.Method parameters in picocli.codegen.docgen.manpage with type arguments of type CommandLine.Model.ArgGroupSpec Modifier and Type Method Description private static voidManPageGenerator. optionListGroups(java.util.List<CommandLine.Model.ArgGroupSpec> groups, java.util.List<CommandLine.Model.ArgGroupSpec> result)
-