org.crsh.cmdline.completers
Class EmptyCompleter
java.lang.Object
org.crsh.cmdline.completers.EmptyCompleter
- All Implemented Interfaces:
- Completer
public class EmptyCompleter
- extends Object
- implements Completer
A Completer
implementation that returns no completion results.
- Version:
- $Revision$
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
private static final EmptyCompleter instance
- .
EmptyCompleter
public EmptyCompleter()
getInstance
public static EmptyCompleter getInstance()
- Returns the empty completer instance.
- Returns:
- the instance
complete
public ValueCompletion complete(ParameterDescriptor<?> parameter,
String prefix)
- Returns the value returned by
Collections.emptyList()
.
- Specified by:
complete
in interface Completer
- Parameters:
parameter
- the completed parameterprefix
- the prefix to complete
- Returns:
- the possible suffix map
Copyright © 2012 eXo Platform SAS. All Rights Reserved.