public class SystemCompleter extends Object implements Completer
| Constructor and Description |
|---|
SystemCompleter() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(List<String> commands,
Completer completer) |
void |
add(String command,
Completer completer) |
void |
add(String command,
List<Completer> completers) |
void |
add(SystemCompleter other) |
void |
addAliases(Map<String,String> aliasCommand) |
void |
compile() |
void |
complete(LineReader reader,
ParsedLine commandLine,
List<Candidate> candidates)
Populates candidates with a list of possible completions for the command line.
|
Map<String,List<Completer>> |
getCompleters() |
boolean |
isCompiled() |
public void complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates)
Completerpublic boolean isCompiled()
public void add(SystemCompleter other)
public void compile()
Copyright © 2020. All rights reserved.