public class CommandCompleter extends Object implements CommandLineCompleter, CLICommandCompleter.Completer
| Constructor and Description |
|---|
CommandCompleter(CommandRegistry cmdRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllCommandNames(CommandContext ctx,
org.aesh.complete.AeshCompleteOperation op) |
void |
complete(CommandContext ctx,
DefaultCallbackHandler parsedCmd,
org.aesh.complete.AeshCompleteOperation op) |
int |
complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
public CommandCompleter(CommandRegistry cmdRegistry)
public int complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)
complete in interface CommandLineCompleterpublic void addAllCommandNames(CommandContext ctx, org.aesh.complete.AeshCompleteOperation op)
addAllCommandNames in interface CLICommandCompleter.Completerpublic void complete(CommandContext ctx, DefaultCallbackHandler parsedCmd, org.aesh.complete.AeshCompleteOperation op)
complete in interface CLICommandCompleter.CompleterCopyright © 2018 JBoss by Red Hat. All rights reserved.