Interface OptionHandlerFilter

All Known Implementing Classes:
ExampleMode

public interface OptionHandlerFilter
Selects OptionHandler.

For example, we use this to let the caller specify which options are printed, and which ones aren't.

See Also:
  • Field Details

  • Method Details

    • select

      boolean select(OptionHandler o)
      Parameters:
      o - Never null. Internally options (like -r) and arguments (others) are treated uniformly as OptionHandler. See OptionDef.isArgument() to distinguish them.
      Returns:
      true to choose this option, false to ignore/discard/disregard it.