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

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

public class ShellCompletor
extends Object
implements jline.Completor


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.Completor


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.