Class AbstractParserControl

  • All Implemented Interfaces:
    org.apache.commons.cli.avalon.ParserControl

    
    public abstract class AbstractParserControl
     implements ParserControl
                        

    Class to inherit from so when in future when new controls are added clients will no have to implement them.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      boolean isFinished(int lastOptionCode) By default always continue parsing by returning false.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractParserControl

        AbstractParserControl()
    • Method Detail

      • isFinished

         boolean isFinished(int lastOptionCode)

        By default always continue parsing by returning false.

        Parameters:
        lastOptionCode - the code of last option parsed
        Returns:

        return true to halt, false to continue parsing