Class AbstractParserControl

java.lang.Object
org.apache.commons.cli.avalon.AbstractParserControl
All Implemented Interfaces:
ParserControl

public abstract class AbstractParserControl extends Object implements ParserControl
Class to inherit from so when in future when new controls are added clients will no have to implement them.
See Also:
  • Constructor Details

    • AbstractParserControl

      public AbstractParserControl()
  • Method Details

    • isFinished

      public boolean isFinished(int lastOptionCode)
      By default always continue parsing by returning false.
      Specified by:
      isFinished in interface ParserControl
      Parameters:
      lastOptionCode - the code of last option parsed
      Returns:
      return true to halt, false to continue parsing
      See Also: