public class CommandsCompleter extends 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(String buffer,
int cursor,
List<CharSequence> candidates)
Populates candidates with a list of possible
completions for the buffer.
|
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(String buffer, int cursor, List<CharSequence> candidates)
List before returning.complete in interface jline.console.completer.Completerbuffer - the buffercandidates - the List of candidates to populatepublic String getScopes()
getScopes in interface IScopeRegistryCopyright © 2013 OW2 Consortium. All Rights Reserved.