Modifier and Type | Method | Description |
---|---|---|
CommandLine.Model.ArgGroupSpec |
CommandLine.Model.ArgGroupSpec.Builder.build() |
Returns a valid
ArgGroupSpec instance. |
CommandLine.Model.ArgGroupSpec |
CommandLine.Model.ArgSpec.group() |
Returns the groups this option or positional parameter belongs to, or
null if this option is not part of a group. |
CommandLine.Model.ArgGroupSpec |
CommandLine.ParseResult.GroupMatch.group() |
Returns the
ArgGroupSpec of the container GroupMatchContainer of this match. |
CommandLine.Model.ArgGroupSpec |
CommandLine.ParseResult.GroupMatchContainer.group() |
Returns the
ArgGroupSpec whose matches are captured in this GroupMatchContainer . |
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, or
null if this group is not part of a composite. |
Modifier and Type | Method | Description |
---|---|---|
List<CommandLine.Model.ArgGroupSpec> |
CommandLine.Model.CommandSpec.argGroups() |
Returns the argument groups in this command.
|
Map<CommandLine.Model.ArgGroupSpec,CommandLine.ParseResult.GroupMatchContainer> |
CommandLine.ParseResult.GroupMatch.matchedSubgroups() |
Returns matches for the subgroups, if any.
|
List<CommandLine.Model.ArgGroupSpec> |
CommandLine.Model.ArgGroupSpec.Builder.subgroups() |
Returns the list of subgroups that this group is composed of.
|
List<CommandLine.Model.ArgGroupSpec> |
CommandLine.Model.ArgGroupSpec.subgroups() |
Return the subgroups that this group is composed of; may be empty but not
null . |
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.
|
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.
|
List<CommandLine.ParseResult.GroupMatchContainer> |
CommandLine.ParseResult.findMatches(CommandLine.Model.ArgGroupSpec group) |
Returns the matches for the specified argument group.
|
boolean |
CommandLine.Model.ArgGroupSpec.isSubgroupOf(CommandLine.Model.ArgGroupSpec group) |
Returns
true if this group is a subgroup (or a nested sub-subgroup, to any level of depth)
of the specified group, false otherwise. |
Copyright © 2017–2019. All rights reserved.