Class FlagParam

All Implemented Interfaces:
NoArgParam, Param

public class FlagParam extends BasicNoArgParam<Boolean>
Represents a boolean flag, which takes no arguments, turns true when provided.
  • Constructor Details

  • Method Details

    • process

      public void process(String param) throws ArgParserException
      Description copied from interface: NoArgParam
      Process a parameter found on the command-line.
      Parameters:
      param - the name of the parameter.
      Throws:
      ArgParserException - when there is a problem processing the parameter.