Class HelpFormatter.Builder

All Implemented Interfaces:
Supplier<HelpFormatter>
Enclosing class:
HelpFormatter

public static class HelpFormatter.Builder extends AbstractHelpFormatter.Builder<HelpFormatter.Builder,HelpFormatter>
A builder for the HelpFormatter. Intended to make more complex uses of the HelpFormatter class easier. Default values are:
  • Field Details

    • showSince

      private boolean showSince
      If true show the "Since" column, otherwise ignore it.
  • Constructor Details

    • Builder

      protected Builder()
      Constructs a new instace.

      Sets showSince to true.

  • Method Details

    • get

      public HelpFormatter get()
    • setShowSince

      public HelpFormatter.Builder setShowSince(boolean showSince)
      Sets the showSince flag.
      Parameters:
      showSince - the desired value of the showSince flag.
      Returns:
      this instance.