Class CommandLine.Help.DefaultParameterRenderer

java.lang.Object
org.apache.logging.log4j.core.tools.picocli.CommandLine.Help.DefaultParameterRenderer
All Implemented Interfaces:
CommandLine.Help.IParameterRenderer
Enclosing class:
CommandLine.Help

static class CommandLine.Help.DefaultParameterRenderer extends Object implements CommandLine.Help.IParameterRenderer
The DefaultParameterRenderer converts Parameters to five columns of text to match the default TextTable column layout. The first row of values looks like this:
  1. the required option marker (if the parameter's arity is to have at least one value)
  2. empty string
  3. empty string
  4. parameter(s) label as rendered by the CommandLine.Help.IParamLabelRenderer
  5. first element of the CommandLine.Parameters.description() array

Following this, there will be one row for each of the remaining elements of the CommandLine.Parameters.description() array, and these rows look like {"", "", "", param.description()[i]}.

  • Field Details

    • requiredMarker

      public String requiredMarker
  • Constructor Details

    • DefaultParameterRenderer

      DefaultParameterRenderer()
  • Method Details