public static class CommandLine.ParseResult.MatchedGroupMultiple
extends java.lang.Object
(-a -b) (-a -b)
requires two multiples of its arguments to fully match.Modifier and Type | Method and Description |
---|---|
CommandLine.ParseResult.MatchedGroup |
container()
Returns the container
MatchedGroup of this multiple. |
CommandLine.Model.ArgGroupSpec |
group()
Returns the
ArgGroupSpec of the container MatchedGroup of this multiple. |
boolean |
isEmpty()
Returns
true if this multiple has no matched arguments and no matched subgroups. |
java.util.Map<CommandLine.Model.ArgGroupSpec,CommandLine.ParseResult.MatchedGroup> |
matchedSubgroups()
Returns matches for the subgroups, if any.
|
java.util.List<java.lang.Object> |
matchedValues(CommandLine.Model.ArgSpec argSpec)
Returns the values matched for the specified argument, converted to the type of the argument.
|
java.lang.String |
toString() |
public boolean isEmpty()
true
if this multiple has no matched arguments and no matched subgroups.public CommandLine.Model.ArgGroupSpec group()
ArgGroupSpec
of the container MatchedGroup
of this multiple.public CommandLine.ParseResult.MatchedGroup container()
MatchedGroup
of this multiple.public java.util.Map<CommandLine.Model.ArgGroupSpec,CommandLine.ParseResult.MatchedGroup> matchedSubgroups()
public java.util.List<java.lang.Object> matchedValues(CommandLine.Model.ArgSpec argSpec)
public java.lang.String toString()
toString
in class java.lang.Object