org.jclouds.karaf.commands.compute.completer
Class ComputeCompleterSupport
java.lang.Object
org.jclouds.karaf.commands.compute.completer.ComputeCompleterSupport
- All Implemented Interfaces:
- org.apache.karaf.shell.console.Completer, Cacheable<org.jclouds.compute.ComputeService>
- Direct Known Subclasses:
- GroupCompleter, ImageCompleter, LocationCompleter, NodesCompleter
public abstract class ComputeCompleterSupport
- extends Object
- implements org.apache.karaf.shell.console.Completer, Cacheable<org.jclouds.compute.ComputeService>
|
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()
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 void updateCache()
- Specified by:
updateCache in interface Cacheable<org.jclouds.compute.ComputeService>
getComputeServices
public List<org.jclouds.compute.ComputeService> getComputeServices()
setComputeServices
public void setComputeServices(List<org.jclouds.compute.ComputeService> computeServices)
getCache
public Set<String> getCache()
setCache
public void setCache(Set<String> cache)
Copyright © 2012. All Rights Reserved.