| Package | Description |
|---|---|
| com.github.rvesse.airline.builder | |
| com.github.rvesse.airline.model | |
| com.github.rvesse.airline.parser.errors.handlers |
| Modifier and Type | Field and Description |
|---|---|
protected ParserErrorHandler |
ParserBuilder.errorHandler |
| Modifier and Type | Method and Description |
|---|---|
ParserBuilder<C> |
ParserBuilder.withErrorHandler(ParserErrorHandler errorHandler)
Sets the error handler to use
|
| Modifier and Type | Method and Description |
|---|---|
ParserErrorHandler |
ParserMetadata.getErrorHandler()
Gets the error handler to use
|
| Constructor and Description |
|---|
ParserMetadata(CommandFactory<T> commandFactory,
List<OptionParser<T>> optionParsers,
TypeConverter typeConverter,
ParserErrorHandler errorHandler,
boolean allowAbbreviateCommands,
boolean allowAbbreviatedOptions,
List<AliasMetadata> aliases,
UserAliasesSource<T> userAliases,
boolean aliasesOverrideBuiltIns,
boolean aliasesMayChain,
char forceBuiltInPrefix,
String argumentsSeparator,
String flagNegationPrefix) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCollectingHandler |
class |
CollectAll
Error handler which collects all the errors for later inspection
|
class |
FailAll
An error handler which collects all errors during parsing and then fails at
the end of parsing
|
class |
FailFast
An error handler which fails as soon as a parser error is encountered
|
Copyright © 2012–2022. All rights reserved.