Package org.apache.commons.cli.avalon
Interface ParserControl
-
- All Implemented Interfaces:
public interface ParserControlParserControl is used to control particular behaviour of the parser.
-
-
Method Summary
Modifier and Type Method Description abstract booleanisFinished(int lastOptionCode)Called by the parser to determine whether it should stop after last option parsed. -
-
Method Detail
-
isFinished
abstract boolean isFinished(int lastOptionCode)
Called by the parser to determine whether it should stop after last option parsed.
- Parameters:
lastOptionCode- the code of last option parsed- Returns:
return true to halt, false to continue parsing
-
-
-
-