类 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddDeprecatedCommand(String command) voidappendCommands(StringBuilder out, int indentCount, int descriptionIndent, String indent) This method is copied from DefaultUsageFormatter, but the ability to skip deprecated commands is added.voidvoidremoveDeprecatedCommand(String command) 从类继承的方法 com.beust.jcommander.DefaultUsageFormatter
appendAllParametersDetails, appendMainLine, getCommandDescription, getI18nString, s, usage, usage, usage, usage, usage, wrapDescription, wrapDescription
-
构造器详细资料
-
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
-
removeDeprecatedCommand
-
clearDeprecatedCommand
public void clearDeprecatedCommand()
-