Uses of Interface
org.apache.logging.log4j.core.tools.picocli.CommandLine.Help.IParamLabelRenderer
Packages that use CommandLine.Help.IParamLabelRenderer
-
Uses of CommandLine.Help.IParamLabelRenderer in org.apache.logging.log4j.core.tools.picocli
Classes in org.apache.logging.log4j.core.tools.picocli that implement CommandLine.Help.IParamLabelRendererModifier and TypeClassDescription(package private) static class
Fields in org.apache.logging.log4j.core.tools.picocli declared as CommandLine.Help.IParamLabelRendererModifier and TypeFieldDescriptionCommandLine.Help.parameterLabelRenderer
Option and positional parameter value label renderer used for the synopsis line(s) and the option list.Methods in org.apache.logging.log4j.core.tools.picocli that return CommandLine.Help.IParamLabelRendererModifier and TypeMethodDescriptionCommandLine.Help.createDefaultParamLabelRenderer()
Returns a new default value renderer that separates option parameters from their options with the specified separator string, surrounds optional parameters with'['
and']'
characters and uses ellipses ("...") to indicate that any number of a parameter are allowed.CommandLine.Help.createMinimalParamLabelRenderer()
Returns a value renderer that returns theparamLabel
if defined or the field name otherwise.Methods in org.apache.logging.log4j.core.tools.picocli with parameters of type CommandLine.Help.IParamLabelRendererModifier and TypeMethodDescriptionvoid
CommandLine.Help.Layout.addOption
(Field field, CommandLine.Help.IParamLabelRenderer paramLabelRenderer) Delegates to theoption renderer
of this layout to obtain text values for the specifiedCommandLine.Option
, and then calls theCommandLine.Help.Layout.layout(Field, CommandLine.Help.Ansi.Text[][])
method to write these text values into the correct cells in the TextTable.void
CommandLine.Help.Layout.addOptions
(List<Field> fields, CommandLine.Help.IParamLabelRenderer paramLabelRenderer) CallsCommandLine.Help.Layout.addOption(Field, CommandLine.Help.IParamLabelRenderer)
for all non-hidden Options in the list.void
CommandLine.Help.Layout.addPositionalParameter
(Field field, CommandLine.Help.IParamLabelRenderer paramLabelRenderer) Delegates to theparameter renderer
of this layout to obtain text values for the specifiedCommandLine.Parameters
, and then callsCommandLine.Help.Layout.layout(Field, CommandLine.Help.Ansi.Text[][])
to write these text values into the correct cells in the TextTable.void
CommandLine.Help.Layout.addPositionalParameters
(List<Field> fields, CommandLine.Help.IParamLabelRenderer paramLabelRenderer) CallsCommandLine.Help.Layout.addPositionalParameter(Field, CommandLine.Help.IParamLabelRenderer)
for all non-hidden Parameters in the list.private CommandLine.Help.Ansi.Text
CommandLine.Help.DefaultOptionRenderer.createLongOptionText
(Field field, CommandLine.Help.IParamLabelRenderer renderer, CommandLine.Help.ColorScheme scheme, String longOption) CommandLine.Help.optionList
(CommandLine.Help.Layout layout, Comparator<Field> optionSort, CommandLine.Help.IParamLabelRenderer valueLabelRenderer) Sorts allOptions
with the specifiedcomparator
(if the comparator is non-null
), then adds all non-hidden options to the specified TextTable and returns the result of TextTable.toString().CommandLine.Help.parameterList
(CommandLine.Help.Layout layout, CommandLine.Help.IParamLabelRenderer paramLabelRenderer) Returns the section of the usage help message that lists the parameters with their descriptions.CommandLine.Help.DefaultOptionRenderer.render
(CommandLine.Option option, Field field, CommandLine.Help.IParamLabelRenderer paramLabelRenderer, CommandLine.Help.ColorScheme scheme) CommandLine.Help.DefaultParameterRenderer.render
(CommandLine.Parameters params, Field field, CommandLine.Help.IParamLabelRenderer paramLabelRenderer, CommandLine.Help.ColorScheme scheme) CommandLine.Help.IOptionRenderer.render
(CommandLine.Option option, Field field, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme) Returns a text representation of the specified Option and the Field that captures the option value.CommandLine.Help.IParameterRenderer.render
(CommandLine.Parameters parameters, Field field, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme) Returns a text representation of the specified Parameters and the Field that captures the parameter values.CommandLine.Help.MinimalOptionRenderer.render
(CommandLine.Option option, Field field, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme) CommandLine.Help.MinimalParameterRenderer.render
(CommandLine.Parameters param, Field field, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme)