Uses of Interface
org.apache.logging.log4j.core.tools.picocli.CommandLine.Help.IParamLabelRenderer
-
Packages that use CommandLine.Help.IParamLabelRenderer Package Description org.apache.logging.log4j.core.tools.picocli -
-
Uses of CommandLine.Help.IParamLabelRenderer in org.apache.logging.log4j.core.tools.picocli
Fields in org.apache.logging.log4j.core.tools.picocli declared as CommandLine.Help.IParamLabelRenderer Modifier and Type Field Description CommandLine.Help.IParamLabelRendererCommandLine.Help. parameterLabelRendererOption 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.IParamLabelRenderer Modifier and Type Method Description CommandLine.Help.IParamLabelRendererCommandLine.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.static CommandLine.Help.IParamLabelRendererCommandLine.Help. createMinimalParamLabelRenderer()Returns a value renderer that returns theparamLabelif defined or the field name otherwise.Methods in org.apache.logging.log4j.core.tools.picocli with parameters of type CommandLine.Help.IParamLabelRenderer Modifier and Type Method Description voidCommandLine.Help.Layout. addOption(java.lang.reflect.Field field, CommandLine.Help.IParamLabelRenderer paramLabelRenderer)Delegates to theoption rendererof 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.voidCommandLine.Help.Layout. addOptions(java.util.List<java.lang.reflect.Field> fields, CommandLine.Help.IParamLabelRenderer paramLabelRenderer)CallsCommandLine.Help.Layout.addOption(Field, CommandLine.Help.IParamLabelRenderer)for all non-hidden Options in the list.voidCommandLine.Help.Layout. addPositionalParameter(java.lang.reflect.Field field, CommandLine.Help.IParamLabelRenderer paramLabelRenderer)Delegates to theparameter rendererof 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.voidCommandLine.Help.Layout. addPositionalParameters(java.util.List<java.lang.reflect.Field> fields, CommandLine.Help.IParamLabelRenderer paramLabelRenderer)CallsCommandLine.Help.Layout.addPositionalParameter(Field, CommandLine.Help.IParamLabelRenderer)for all non-hidden Parameters in the list.java.lang.StringCommandLine.Help. optionList(CommandLine.Help.Layout layout, java.util.Comparator<java.lang.reflect.Field> optionSort, CommandLine.Help.IParamLabelRenderer valueLabelRenderer)Sorts allOptionswith 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().java.lang.StringCommandLine.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.Ansi.Text[][]CommandLine.Help.IOptionRenderer. render(CommandLine.Option option, java.lang.reflect.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.Ansi.Text[][]CommandLine.Help.IParameterRenderer. render(CommandLine.Parameters parameters, java.lang.reflect.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.
-