Uses of Class
picocli.CommandLine.Model.ArgGroupSpec
-
Uses of CommandLine.Model.ArgGroupSpec in picocli
Fields in picocli declared as CommandLine.Model.ArgGroupSpecModifier and TypeFieldDescriptionprivate CommandLine.Model.ArgGroupSpecCommandLine.Model.ArgSpec.groupprivate final CommandLine.Model.ArgGroupSpecCommandLine.ParseResult.GroupMatchContainer.groupprivate CommandLine.Model.ArgGroupSpecCommandLine.Model.ArgGroupSpec.parentGroupFields in picocli with type parameters of type CommandLine.Model.ArgGroupSpecModifier and TypeFieldDescriptionprivate final List<CommandLine.Model.ArgGroupSpec> CommandLine.Model.CommandSpec.groups(package private) Map<CommandLine.Model.ArgGroupSpec, CommandLine.ParseResult.GroupMatchContainer> CommandLine.ParseResult.GroupMatch.matchedSubgroupsprivate final List<CommandLine.Model.ArgGroupSpec> CommandLine.Model.ArgGroupSpec.Builder.subgroupsprivate final List<CommandLine.Model.ArgGroupSpec> CommandLine.Model.ArgGroupSpec.subgroupsprivate final List<CommandLine.Model.ArgGroupSpec> CommandLine.ParseResult.GroupMatchContainer.unmatchedSubgroupsMethods in picocli that return CommandLine.Model.ArgGroupSpecModifier and TypeMethodDescriptionCommandLine.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.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.private Set<CommandLine.Model.ArgGroupSpec> CommandLine.Model.CommandSpec.flatten(Collection<CommandLine.Model.ArgGroupSpec> groups, Set<CommandLine.Model.ArgGroupSpec> result) private Set<CommandLine.Model.ArgGroupSpec> CommandLine.Model.CommandSpec.flatten(CommandLine.Model.ArgGroupSpec group, Set<CommandLine.Model.ArgGroupSpec> result) 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.private CommandLine.Model.CommandSpecCommandLine.Model.CommandSpec.addArgGroup(CommandLine.Model.ArgGroupSpec group, Set<CommandLine.Model.OptionSpec> groupOptions, Set<CommandLine.Model.PositionalParamSpec> groupPositionals) private voidCommandLine.Model.CommandSpec.addGroupArgsToCommand(CommandLine.Model.ArgGroupSpec group, Map<String, CommandLine.Model.ArgGroupSpec> added, Set<CommandLine.Model.OptionSpec> groupOptions, Set<CommandLine.Model.PositionalParamSpec> groupPositionals) 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 voidCommandLine.Interpreter.applyGroupDefaults(CommandLine.IDefaultValueProvider defaultValueProvider, CommandLine.Model.ArgGroupSpec group, List<CommandLine.Model.ArgSpec> required, Set<CommandLine.Model.ArgSpec> initialized) private voidCommandLine.Model.CommandSpec.check(CommandLine.Model.ArgGroupSpec group, Set<CommandLine.Model.ArgGroupSpec> existing) private voidCommandLine.Interpreter.clear(CommandLine.Model.ArgGroupSpec group) private booleanCommandLine.ParseResult.GroupMatchContainer.containsRequiredSubgroups(CommandLine.Model.ArgGroupSpec argGroupSpec) CommandLine.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) List<CommandLine.ParseResult.GroupMatchContainer> CommandLine.ParseResult.GroupMatchContainer.findMatchContainers(CommandLine.Model.ArgGroupSpec group, List<CommandLine.ParseResult.GroupMatchContainer> result) CommandLine.ParseResult.findMatches(CommandLine.Model.ArgGroupSpec group) Returns the matches for the specified argument group.private Set<CommandLine.Model.ArgGroupSpec> CommandLine.Model.CommandSpec.flatten(CommandLine.Model.ArgGroupSpec group, Set<CommandLine.Model.ArgGroupSpec> result) private booleanCommandLine.ParseResult.GroupMatchContainer.isGroupEffectivelyOptional(CommandLine.Model.ArgGroupSpec argGroupSpec) A group is optional if its minimummultiplicityis zero otherwise, if the group has at least one required option and all required options have default values Conversely, a group is required if if its minimummultiplicityis1or more AND either the group has no required options or the group has at least one required option without a default valuebooleanCommandLine.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.private booleanCommandLine.ParseResult.GroupMatchContainer.requiredOptionsExistAndAllHaveDefaultValues(CommandLine.Model.ArgGroupSpec argGroupSpec) (package private) voidCommandLine.ParseResult.GroupMatchContainer.updateUnmatchedGroups(CommandLine.Model.ArgGroupSpec group) private static voidCommandLine.Model.CommandReflection.validateArgGroupSpec(CommandLine.Model.ArgGroupSpec result, boolean hasArgAnnotation, String className) Method parameters in picocli with type arguments of type CommandLine.Model.ArgGroupSpecModifier and TypeMethodDescriptionprivate voidCommandLine.Model.CommandSpec.addGroupArgsToCommand(CommandLine.Model.ArgGroupSpec group, Map<String, CommandLine.Model.ArgGroupSpec> added, Set<CommandLine.Model.OptionSpec> groupOptions, Set<CommandLine.Model.PositionalParamSpec> groupPositionals) private voidCommandLine.Model.CommandSpec.check(CommandLine.Model.ArgGroupSpec group, Set<CommandLine.Model.ArgGroupSpec> existing) private Set<CommandLine.Model.ArgGroupSpec> CommandLine.Model.CommandSpec.flatten(Collection<CommandLine.Model.ArgGroupSpec> groups, Set<CommandLine.Model.ArgGroupSpec> result) private Set<CommandLine.Model.ArgGroupSpec> CommandLine.Model.CommandSpec.flatten(Collection<CommandLine.Model.ArgGroupSpec> groups, Set<CommandLine.Model.ArgGroupSpec> result) private Set<CommandLine.Model.ArgGroupSpec> CommandLine.Model.CommandSpec.flatten(CommandLine.Model.ArgGroupSpec group, Set<CommandLine.Model.ArgGroupSpec> result) private StringCommandLine.Help.optionListGroupSections(List<CommandLine.Model.ArgGroupSpec> groupList, Comparator<CommandLine.Model.OptionSpec> optionSort, CommandLine.Help.IParamLabelRenderer paramLabelRenderer) private static voidCommandLine.Help.optionSectionGroups(List<CommandLine.Model.ArgGroupSpec> groups, List<CommandLine.Model.ArgGroupSpec> result) private booleanCommandLine.ParseResult.GroupMatchContainer.simplifyErrorMessageForSingleGroup(Map<CommandLine.Model.ArgGroupSpec, List<List<CommandLine.ParseResult.GroupMatch>>> matchesPerGroup, CommandLine commandLine) Constructors in picocli with parameters of type CommandLine.Model.ArgGroupSpecModifierConstructorDescription(package private)