Module com.github.rvesse.airline
Class CollectAll
java.lang.Object
com.github.rvesse.airline.parser.errors.handlers.AbstractCollectingHandler
com.github.rvesse.airline.parser.errors.handlers.CollectAll
- All Implemented Interfaces:
ParserErrorHandler
Error handler which collects all the errors for later inspection
-
Field Summary
Fields inherited from class com.github.rvesse.airline.parser.errors.handlers.AbstractCollectingHandler
errors
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ParseResult
<T> finished
(ParseState<T> state) Prepares the parser resultMethods inherited from class com.github.rvesse.airline.parser.errors.handlers.AbstractCollectingHandler
getCollection, handleError, resetCollection
-
Constructor Details
-
CollectAll
public CollectAll()
-
-
Method Details
-
finished
Description copied from interface:ParserErrorHandler
Prepares the parser result- Parameters:
state
- Parser state- Returns:
- Parser result
-