org.apache.blur.shell
Class CommandCompletor
java.lang.Object
org.apache.blur.shell.CommandCompletor
- All Implemented Interfaces:
- jline.console.completer.Completer
public class CommandCompletor
- extends Object
- implements jline.console.completer.Completer
CommandCompletor
public CommandCompletor(Map<String,Command> commands,
Blur.Iface client)
complete
public int complete(String buf,
int cursor,
List<CharSequence> candidates)
- Specified by:
complete
in interface jline.console.completer.Completer
complete
public int complete(Blur.Iface client,
String potentialTable,
List<CharSequence> candidates,
String commandName)
throws BlurException,
TException
- Throws:
BlurException
TException
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.