public class CommandsCompleter extends java.lang.Object implements jline.console.completer.Completer, IScopeRegistry
| Constructor and Description |
|---|
CommandsCompleter(org.osgi.framework.BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindCommand(org.osgi.framework.ServiceReference reference) |
int |
complete(java.lang.String buffer,
int cursor,
java.util.List<java.lang.CharSequence> candidates)
Populates candidates with a list of possible
completions for the buffer.
|
java.lang.String |
getScopes()
Return a list of currently available scopes.
|
void |
unbindCommand(org.osgi.framework.ServiceReference reference) |
public CommandsCompleter(org.osgi.framework.BundleContext context)
public void bindCommand(org.osgi.framework.ServiceReference reference)
public void unbindCommand(org.osgi.framework.ServiceReference reference)
public int complete(java.lang.String buffer,
int cursor,
java.util.List<java.lang.CharSequence> candidates)
List before returning.complete in interface jline.console.completer.Completerbuffer - the buffercandidates - the List of candidates to populatepublic java.lang.String getScopes()
getScopes in interface IScopeRegistryCopyright © 2012 OW2 Consortium. All Rights Reserved.