org.jclouds.karaf.commands.compute.completer
Class ComputeCompleterSupport
java.lang.Object
org.jclouds.karaf.commands.compute.completer.ComputeCompleterSupport
- All Implemented Interfaces:
- Runnable, org.apache.karaf.shell.console.Completer
- Direct Known Subclasses:
- ImageCompleter, LocationCompleter, NodesCompleter
public abstract class ComputeCompleterSupport
- extends Object
- implements org.apache.karaf.shell.console.Completer, Runnable
|
Field Summary |
protected Set<String> |
cache
|
protected org.apache.karaf.shell.console.completer.StringsCompleter |
delegate
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
protected final org.apache.karaf.shell.console.completer.StringsCompleter delegate
cache
protected Set<String> cache
ComputeCompleterSupport
public ComputeCompleterSupport()
run
public void run()
- Specified by:
run in interface Runnable
getService
protected org.jclouds.compute.ComputeService getService()
complete
public int complete(String buffer,
int cursor,
List<String> candidates)
- Specified by:
complete in interface org.apache.karaf.shell.console.Completer
updateCache
public abstract void updateCache()
getServices
public List<org.jclouds.compute.ComputeService> getServices()
setServices
public void setServices(List<org.jclouds.compute.ComputeService> services)
Copyright © 2009-2011 jclouds. All Rights Reserved.