Uses of Interface
com.github.rvesse.airline.parser.errors.handlers.ParserErrorHandler
-
Packages that use ParserErrorHandler Package Description com.github.rvesse.airline.annotations com.github.rvesse.airline.builder com.github.rvesse.airline.model com.github.rvesse.airline.parser.errors.handlers -
-
Uses of ParserErrorHandler in com.github.rvesse.airline.annotations
Methods in com.github.rvesse.airline.annotations that return types with arguments of type ParserErrorHandler Modifier and Type Method Description java.lang.Class<? extends ParserErrorHandler>
errorHandler()
Sets the error handler to use, defaults toFailFast
which throws errors as soon as they are encountered -
Uses of ParserErrorHandler in com.github.rvesse.airline.builder
Fields in com.github.rvesse.airline.builder declared as ParserErrorHandler Modifier and Type Field Description protected ParserErrorHandler
ParserBuilder. errorHandler
Methods in com.github.rvesse.airline.builder with parameters of type ParserErrorHandler Modifier and Type Method Description ParserBuilder<C>
ParserBuilder. withErrorHandler(ParserErrorHandler errorHandler)
Sets the error handler to use -
Uses of ParserErrorHandler in com.github.rvesse.airline.model
Fields in com.github.rvesse.airline.model declared as ParserErrorHandler Modifier and Type Field Description private ParserErrorHandler
ParserMetadata. errorHandler
Methods in com.github.rvesse.airline.model that return ParserErrorHandler Modifier and Type Method Description ParserErrorHandler
ParserMetadata. getErrorHandler()
Gets the error handler to useConstructors in com.github.rvesse.airline.model with parameters of type ParserErrorHandler Constructor Description ParserMetadata(CommandFactory<T> commandFactory, java.util.Collection<java.lang.String> compositionAnnotationClasses, java.util.Collection<OptionParser<T>> optionParsers, TypeConverter typeConverter, ParserErrorHandler errorHandler, boolean allowAbbreviateCommands, boolean allowAbbreviatedOptions, java.util.Collection<AliasMetadata> aliases, UserAliasesSource<T> userAliases, boolean aliasesOverrideBuiltIns, boolean aliasesMayChain, char forceBuiltInPrefix, java.lang.String argumentsSeparator, java.lang.String flagNegationPrefix)
-
Uses of ParserErrorHandler in com.github.rvesse.airline.parser.errors.handlers
Classes in com.github.rvesse.airline.parser.errors.handlers that implement ParserErrorHandler Modifier and Type Class Description class
AbstractCollectingHandler
class
CollectAll
Error handler which collects all the errors for later inspectionclass
FailAll
An error handler which collects all errors during parsing and then fails at the end of parsingclass
FailFast
An error handler which fails as soon as a parser error is encountered
-