public abstract class ScrCompleterSupport extends Object implements org.apache.karaf.shell.api.console.Completer
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ScrCompleterSupport() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
availableComponent(org.apache.felix.scr.Component component) |
int |
complete(org.apache.karaf.shell.api.console.Session session,
org.apache.karaf.shell.api.console.CommandLine commandLine,
List<String> candidates)
Overrides the super method noted below.
|
org.apache.felix.scr.ScrService |
getScrService()
Get the scrService Object associated with this instance of
ScrCompleterSupport.
|
void |
setScrService(org.apache.felix.scr.ScrService scrService)
Sets the scrService Object for this ScrCompleterSupport instance.
|
public int complete(org.apache.karaf.shell.api.console.Session session,
org.apache.karaf.shell.api.console.CommandLine commandLine,
List<String> candidates)
complete in interface org.apache.karaf.shell.api.console.CompleterCompleter.complete(org.apache.karaf.shell.api.console.Session, org.apache.karaf.shell.api.console.CommandLine, java.util.List)public abstract boolean availableComponent(org.apache.felix.scr.Component component)
throws Exception
Exceptionpublic org.apache.felix.scr.ScrService getScrService()
public void setScrService(org.apache.felix.scr.ScrService scrService)
scrService - the scrService to setCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.