org.crsh.cli.completers
Class EmptyCompleter

java.lang.Object
  extended by org.crsh.cli.completers.EmptyCompleter
All Implemented Interfaces:
Completer

public class EmptyCompleter
extends Object
implements Completer


Constructor Summary
EmptyCompleter()
           
 
Method Summary
 Completion complete(ParameterDescriptor parameter, String prefix)
          Returns the value returned by Collections.emptyList().
static EmptyCompleter getInstance()
          Returns the empty completer instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyCompleter

public EmptyCompleter()
Method Detail

getInstance

public static EmptyCompleter getInstance()
Returns the empty completer instance.

Returns:
the instance

complete

public Completion complete(ParameterDescriptor parameter,
                           String prefix)
Returns the value returned by Collections.emptyList().

Specified by:
complete in interface Completer
Parameters:
parameter - the completed parameter
prefix - the prefix to complete
Returns:
the possible suffix map


Copyright © 2015 eXo Platform SAS. All Rights Reserved.