public class CommandCompleter extends Object implements CommandLineCompleter
Constructor and Description |
---|
CommandCompleter(CommandRegistry cmdRegistry) |
Modifier and Type | Method and Description |
---|---|
int |
complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
protected int |
doComplete(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 CommandLineCompleter
protected int doComplete(CommandContext ctx, String buffer, int cursor, List<String> candidates)
Copyright © 2023 JBoss by Red Hat. All rights reserved.