Class CLOption.SimpleKey

Object
SimpleKey
All Implemented Interfaces:
CLOption.Key
Enclosing class:
CLOption

public static class CLOption.SimpleKey extends Object implements CLOption.Key
Simple key for command line options. Keys are similar to enums but more flexible because the set of keys can be modified at runtime.
Author:
Christoph Hauert
  • Field Details

    • key

      String key
      The key of the command line option.
    • title

      String title
      The title of the command line option. Brief description of the key for the help screen.
  • Constructor Details

    • SimpleKey

      public SimpleKey(String key, String title)
      Create a new key with the name key and title title.
      Parameters:
      key - the key of the command line option
      title - the title of the command line option
  • Method Details