org.crsh.cli.completers
Class EmptyCompleter
java.lang.Object
org.crsh.cli.completers.EmptyCompleter
- All Implemented Interfaces:
- Completer
public class EmptyCompleter
- extends Object
- implements Completer
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 Completion 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 © 2014 eXo Platform SAS. All Rights Reserved.