Package | Description |
---|---|
io.airlift.airline | |
io.airlift.airline.model |
Modifier and Type | Field and Description |
---|---|
CommandMetadata |
CommandSuggester.command |
CommandMetadata |
HelpOption.commandMetadata |
Modifier and Type | Field and Description |
---|---|
static Comparator<CommandMetadata> |
UsageHelper.DEFAULT_COMMAND_COMPARATOR |
Modifier and Type | Method and Description |
---|---|
CommandMetadata |
ParseState.getCommand() |
CommandMetadata |
SingleCommand.getCommandMetadata() |
Modifier and Type | Method and Description |
---|---|
static void |
Help.help(CommandMetadata command) |
static void |
Help.help(CommandMetadata command,
StringBuilder out) |
ParseState |
Parser.parseCommand(CommandMetadata command,
Iterable<String> params) |
void |
CommandUsage.usage(String programName,
String groupName,
String commandName,
CommandMetadata command)
Display the help on System.out.
|
void |
CommandUsage.usage(String programName,
String groupName,
String commandName,
CommandMetadata command,
StringBuilder out)
Store the help in the passed string builder.
|
void |
CommandUsage.usage(String programName,
String groupName,
String commandName,
CommandMetadata command,
UsagePrinter out) |
ParseState |
ParseState.withCommand(CommandMetadata command) |
Modifier and Type | Method and Description |
---|---|
CommandMetadata |
GlobalMetadata.getDefaultCommand() |
CommandMetadata |
CommandGroupMetadata.getDefaultCommand() |
static CommandMetadata |
MetadataLoader.loadCommand(Class<?> commandType) |
Modifier and Type | Method and Description |
---|---|
List<CommandMetadata> |
CommandGroupMetadata.getCommands() |
List<CommandMetadata> |
GlobalMetadata.getDefaultGroupCommands() |
static <T> com.google.common.collect.ImmutableList<CommandMetadata> |
MetadataLoader.loadCommands(Iterable<Class<? extends T>> defaultCommands) |
static com.google.common.base.Function<CommandMetadata,String> |
CommandMetadata.nameGetter() |
Modifier and Type | Method and Description |
---|---|
static CommandGroupMetadata |
MetadataLoader.loadCommandGroup(String name,
String description,
CommandMetadata defaultCommand,
Iterable<CommandMetadata> commands) |
static GlobalMetadata |
MetadataLoader.loadGlobal(String name,
String description,
CommandMetadata defaultCommand,
Iterable<CommandMetadata> defaultGroupCommands,
Iterable<CommandGroupMetadata> groups) |
Modifier and Type | Method and Description |
---|---|
static CommandGroupMetadata |
MetadataLoader.loadCommandGroup(String name,
String description,
CommandMetadata defaultCommand,
Iterable<CommandMetadata> commands) |
static GlobalMetadata |
MetadataLoader.loadGlobal(String name,
String description,
CommandMetadata defaultCommand,
Iterable<CommandMetadata> defaultGroupCommands,
Iterable<CommandGroupMetadata> groups) |
Constructor and Description |
---|
CommandGroupMetadata(String name,
String description,
Iterable<OptionMetadata> options,
CommandMetadata defaultCommand,
Iterable<CommandMetadata> commands) |
GlobalMetadata(String name,
String description,
Iterable<OptionMetadata> options,
CommandMetadata defaultCommand,
Iterable<CommandMetadata> defaultGroupCommands,
Iterable<CommandGroupMetadata> commandGroups) |
Constructor and Description |
---|
CommandGroupMetadata(String name,
String description,
Iterable<OptionMetadata> options,
CommandMetadata defaultCommand,
Iterable<CommandMetadata> commands) |
GlobalMetadata(String name,
String description,
Iterable<OptionMetadata> options,
CommandMetadata defaultCommand,
Iterable<CommandMetadata> defaultGroupCommands,
Iterable<CommandGroupMetadata> commandGroups) |
Copyright © 2012–2019. All rights reserved.