Package io.airlift.airline
Class GlobalUsage
java.lang.Object
io.airlift.airline.GlobalUsage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final Comparator<? super OptionMetadata> -
Constructor Summary
ConstructorsConstructorDescriptionGlobalUsage(int columnSize) GlobalUsage(int columnSize, Comparator<? super OptionMetadata> optionComparator) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprintCommandDescription(UsagePrinter commandPrinter, CommandGroupMetadata group, CommandMetadata command) voidusage(GlobalMetadata global) Display the help on System.out.voidusage(GlobalMetadata global, UsagePrinter out) voidusage(GlobalMetadata global, StringBuilder out) Store the help in the passed string builder.
-
Field Details
-
columnSize
private final int columnSize -
optionComparator
-
-
Constructor Details
-
GlobalUsage
public GlobalUsage() -
GlobalUsage
public GlobalUsage(int columnSize) -
GlobalUsage
-
-
Method Details
-
usage
Display the help on System.out. -
usage
Store the help in the passed string builder. -
usage
-
printCommandDescription
private void printCommandDescription(UsagePrinter commandPrinter, @Nullable CommandGroupMetadata group, CommandMetadata command)
-