org.jclouds.karaf.commands.blobstore.completer
Class BlobStoreCompleterSupport
java.lang.Object
org.jclouds.karaf.commands.blobstore.completer.BlobStoreCompleterSupport
- All Implemented Interfaces:
- org.apache.karaf.shell.console.Completer, Cacheable<org.jclouds.blobstore.BlobStore>
- Direct Known Subclasses:
- BlobCompleter, ContainerCompleter
public abstract class BlobStoreCompleterSupport
- extends Object
- implements org.apache.karaf.shell.console.Completer, Cacheable<org.jclouds.blobstore.BlobStore>
|
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
BlobStoreCompleterSupport
public BlobStoreCompleterSupport()
getBlobStore
protected org.jclouds.blobstore.BlobStore getBlobStore()
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.blobstore.BlobStore>
listContainers
protected Set<String> listContainers()
listContainers
protected Set<String> listContainers(org.jclouds.blobstore.BlobStore blobStore)
listBlobs
protected Set<String> listBlobs(String container)
listBlobs
protected Set<String> listBlobs(org.jclouds.blobstore.BlobStore blobStore,
String container)
getBlobStoreServices
public List<org.jclouds.blobstore.BlobStore> getBlobStoreServices()
setBlobStoreServices
public void setBlobStoreServices(List<org.jclouds.blobstore.BlobStore> blobStoreServices)
getCache
public Set<String> getCache()
setCache
public void setCache(Set<String> cache)
Copyright © 2012. All Rights Reserved.