Interface Parameter.Value<T>

Type Parameters:
T - The type of value returned from the ValueParsers
All Superinterfaces:
Parameter
Enclosing interface:
Parameter

public static interface Parameter.Value<T> extends Parameter
Represents a Parameter that attempts to parse an argument to obtain a value of type T.

This type of Parameter will attempt to parse an input using the ValueParsers in the order that they are returned in parsers(). If a ValueParser fails to parse an argument, the next in the list will be tried, if the final ValueParser cannot parse the argument, this element will throw a ArgumentParseException.