Class OptionWithoutArg<T>

java.lang.Object
coneforest.clianthus.option.Option
coneforest.clianthus.option.OptionWithoutArg<T>
Direct Known Subclasses:
OptionCounter, OptionFlag, OptionToggle

public abstract class OptionWithoutArg<T> extends Option
An abstract option without argument.
  • Constructor Details

    • OptionWithoutArg

      public OptionWithoutArg(String names)
      Creates new option with given names.
      Parameters:
      names - space-delimited names.
  • Method Details

    • handle

      public abstract void handle()
      Called when option is processed.