org.sonatype.gshell.variables
Class VariableNameCompleter
java.lang.Object
org.sonatype.gshell.variables.VariableNameCompleter
- All Implemented Interfaces:
- jline.console.completer.Completer
@Singleton
public class VariableNameCompleter
- extends Object
- implements jline.console.completer.Completer
Completer for variable names.
Keeps up to date automatically by handling variable-related events.
- Since:
- 2.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableNameCompleter
@Inject
public VariableNameCompleter(EventManager events,
javax.inject.Provider<Variables> variables)
complete
public int complete(String buffer,
int cursor,
List<CharSequence> candidates)
- Specified by:
complete in interface jline.console.completer.Completer
Copyright © 2008-2011 Sonatype. All Rights Reserved.