Uses of Class
com.github.rvesse.airline.parser.ParseResult
-
Packages that use ParseResult Package Description com.github.rvesse.airline com.github.rvesse.airline.parser.command com.github.rvesse.airline.parser.errors.handlers -
-
Uses of ParseResult in com.github.rvesse.airline
Methods in com.github.rvesse.airline that return ParseResult Modifier and Type Method Description ParseResult<C>
Cli. parseWithResult(java.lang.Iterable<java.lang.String> args)
Parses the arguments to produce a result.ParseResult<C>
Cli. parseWithResult(java.lang.String... args)
Parses the arguments to produce a result.ParseResult<C>
SingleCommand. parseWithResult(java.lang.Iterable<java.lang.String> args)
Parses the arguments to produce a result.ParseResult<C>
SingleCommand. parseWithResult(java.lang.String... args)
Parses the arguments to produce a result.Methods in com.github.rvesse.airline with parameters of type ParseResult Modifier and Type Method Description <T> boolean
HelpOption. showHelpIfErrors(ParseResult<T> result)
Shows help if any parsing errors were detected.<T> boolean
HelpOption. showHelpIfErrors(ParseResult<T> result, boolean printErrors)
Shows help if any parsing errors were detected<T> boolean
HelpOption. showHelpIfErrors(ParseResult<T> result, boolean printErrors, CommandUsageGenerator generator)
Shows help if any parsing errors were detected -
Uses of ParseResult in com.github.rvesse.airline.parser.command
Methods in com.github.rvesse.airline.parser.command that return ParseResult Modifier and Type Method Description ParseResult<T>
CliParser. parseWithResult(GlobalMetadata<T> metadata, java.lang.Iterable<java.lang.String> args)
ParseResult<T>
SingleCommandParser. parseWithResult(ParserMetadata<T> parserConfig, CommandMetadata commandMetadata, java.lang.Iterable<GlobalRestriction> restrictions, java.lang.Iterable<java.lang.String> args)
-
Uses of ParseResult in com.github.rvesse.airline.parser.errors.handlers
Methods in com.github.rvesse.airline.parser.errors.handlers that return ParseResult Modifier and Type Method Description <T> ParseResult<T>
CollectAll. finished(ParseState<T> state)
<T> ParseResult<T>
FailAll. finished(ParseState<T> state)
<T> ParseResult<T>
FailFast. finished(ParseState<T> state)
<T> ParseResult<T>
ParserErrorHandler. finished(ParseState<T> state)
Prepares the parser result
-