类 CmdUsageFormatter

java.lang.Object
com.beust.jcommander.DefaultUsageFormatter
org.apache.pulsar.admin.cli.CmdUsageFormatter
所有已实现的接口:
com.beust.jcommander.IUsageFormatter

public class CmdUsageFormatter extends com.beust.jcommander.DefaultUsageFormatter
  • 构造器详细资料

    • CmdUsageFormatter

      public CmdUsageFormatter(com.beust.jcommander.JCommander commander)
  • 方法详细资料

    • appendCommands

      public void appendCommands(StringBuilder out, int indentCount, int descriptionIndent, String indent)
      This method is copied from DefaultUsageFormatter, but the ability to skip deprecated commands is added.
      覆盖:
      appendCommands 在类中 com.beust.jcommander.DefaultUsageFormatter
      参数:
      out -
      indentCount -
      descriptionIndent -
      indent -
    • addDeprecatedCommand

      public void addDeprecatedCommand(String command)
    • removeDeprecatedCommand

      public void removeDeprecatedCommand(String command)
    • clearDeprecatedCommand

      public void clearDeprecatedCommand()