Completer
public static class Completers.SystemCompleter extends Object implements Completer
Constructor | Description |
---|---|
SystemCompleter() |
Modifier and Type | Method | Description |
---|---|---|
void |
add(String command,
List<Completer> completers) |
|
void |
add(String command,
Completer completer) |
|
void |
add(List<String> commands,
Completer completer) |
|
void |
add(Completers.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,String> |
getAliases() |
|
Map<String,List<Completer>> |
getCompleters() |
|
boolean |
isCompiled() |
public void complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates)
Completer
public boolean isCompiled()
public void add(Completers.SystemCompleter other)
public void compile()
Copyright © 2020. All rights reserved.