Interface NoArgParam

All Superinterfaces:
Param
All Known Implementing Classes:
AccumulatingParam, BasicNoArgParam, EnumParam, FlagParam

public non-sealed interface NoArgParam extends Param
An interface for a parameter that doesn't take arguments. Typically these are simple boolean flags (see FlagParam for a typical flag).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(String param)
    Process a parameter found on the command-line.

    Methods inherited from interface org.rwtodd.args.Param

    addHelp, addToMap
  • Method Details

    • process

      void process(String param) throws ArgParserException
      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.