public class RecipeCompleter extends GenericCompleterSupport<RecipeProvider,String> implements Cacheable<RecipeProvider>
API_OPTION, cache, cacheProvider, delegate, NAME_OPTION, PROVIDER_OPTION| Constructor and Description |
|---|
RecipeCompleter() |
| Modifier and Type | Method and Description |
|---|---|
int |
complete(String buffer,
int cursor,
List<String> candidates) |
String |
getCacheableKey(RecipeProvider type) |
void |
init() |
void |
updateOnAdded(RecipeProvider recipeProvider) |
getCacheProvider, setCacheProvider, updateOnRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateOnRemovedpublic void init()
public int complete(String buffer, int cursor, List<String> candidates)
complete in interface org.apache.karaf.shell.console.Completercomplete in class GenericCompleterSupport<RecipeProvider,String>public String getCacheableKey(RecipeProvider type)
getCacheableKey in class GenericCompleterSupport<RecipeProvider,String>public void updateOnAdded(RecipeProvider recipeProvider)
updateOnAdded in interface Cacheable<RecipeProvider>Copyright © 2013. All Rights Reserved.