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


Field Summary
private static EmptyCompleter instance
          .
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static final EmptyCompleter instance
.

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 © 2014 eXo Platform SAS. All Rights Reserved.