Modifier and Type | Field and Description |
---|---|
static ThreadLocal<Command> |
command |
Constructor and Description |
---|
CommandCompletor(VirtualProcess process,
CommandFactory<T> commandFactory,
Connection con) |
Modifier and Type | Method and Description |
---|---|
int |
complete(String buffer,
int cursor,
List<String> candidates)
Populates candidates with a list of possible completions for the
buffer.
|
public static ThreadLocal<Command> command
public CommandCompletor(VirtualProcess process, CommandFactory<T> commandFactory, Connection con)
public int complete(String buffer, int cursor, List<String> candidates)
Completor
List
before returning.Copyright © 2024. All rights reserved.