@Singleton public class NodePathCompleter extends Object implements jline.console.completer.Completer
Completer
for node path names.Constructor and Description |
---|
NodePathCompleter(CommandResolver resolver) |
Modifier and Type | Method and Description |
---|---|
protected int |
buildCandidates(List<CharSequence> candidates,
Collection<Node> matches,
String prefix) |
int |
complete(String buffer,
int cursor,
List<CharSequence> candidates) |
@Inject public NodePathCompleter(CommandResolver resolver)
public int complete(String buffer, int cursor, List<CharSequence> candidates)
complete
in interface jline.console.completer.Completer
protected int buildCandidates(List<CharSequence> candidates, Collection<Node> matches, String prefix)
Copyright © 2008-2012 Sonatype. All Rights Reserved.