org.apache.accumulo.core.util.shell
Class ShellCompletor

java.lang.Object
  extended by org.apache.accumulo.core.util.shell.ShellCompletor
All Implemented Interfaces:
jline.console.completer.Completer

public class ShellCompletor
extends Object
implements jline.console.completer.Completer


Constructor Summary
ShellCompletor()
           
ShellCompletor(Token root)
           
ShellCompletor(Token rootToken, Map<Shell.Command.CompletionSet,Set<String>> options)
           
 
Method Summary
 int complete(String buffer, int cursor, List candidates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellCompletor

public ShellCompletor()

ShellCompletor

public ShellCompletor(Token root)

ShellCompletor

public ShellCompletor(Token rootToken,
                      Map<Shell.Command.CompletionSet,Set<String>> options)
Method Detail

complete

public int complete(String buffer,
                    int cursor,
                    List candidates)
Specified by:
complete in interface jline.console.completer.Completer


Copyright © 2015 Apache Accumulo Project. All rights reserved.