org.jclouds.karaf.commands.blobstore
Class BlobStoreCommandWithOptions

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.jclouds.karaf.commands.blobstore.BlobStoreCommandBase
          extended by org.jclouds.karaf.commands.blobstore.BlobStoreCommandWithOptions
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action
Direct Known Subclasses:
BlobCreateCommand, BlobDeleteCommand, BlobListCommand, BlobReadCommand, BlobStoreServiceCreateCommand, BlobWriteCommand

public abstract class BlobStoreCommandWithOptions
extends BlobStoreCommandBase

Author:
iocanel

Field Summary
protected  String api
           
protected  String credential
           
protected  String endpoint
           
protected  String identity
           
protected  String name
           
protected  String provider
           
 
Fields inherited from class org.jclouds.karaf.commands.blobstore.BlobStoreCommandBase
blobStoreServices, cacheProvider, configAdmin, FACTORY_FILTER, PROVIDERFORMAT
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
BlobStoreCommandWithOptions()
           
 
Method Summary
 Object execute(org.apache.felix.service.command.CommandSession session)
           
protected  org.jclouds.blobstore.BlobStore getBlobStore()
           
protected  List<org.jclouds.blobstore.BlobStore> getBlobStoreServices()
           
 
Methods inherited from class org.jclouds.karaf.commands.blobstore.BlobStoreCommandBase
findOrCreateFactoryConfiguration, getBlobInputStream, getCacheProvider, getConfigAdmin, printBlobStoreApis, printBlobStoreProviders, read, readFromUrl, setBlobStoreServices, setCacheProvider, setConfigAdmin, toBytes, write, write
 
Methods inherited from class org.apache.karaf.shell.console.AbstractAction
doExecute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

provider

protected String provider

api

protected String api

identity

protected String identity

credential

protected String credential

endpoint

protected String endpoint
Constructor Detail

BlobStoreCommandWithOptions

public BlobStoreCommandWithOptions()
Method Detail

execute

public Object execute(org.apache.felix.service.command.CommandSession session)
               throws Exception
Specified by:
execute in interface org.apache.felix.gogo.commands.Action
Overrides:
execute in class BlobStoreCommandBase
Throws:
Exception

getBlobStoreServices

protected List<org.jclouds.blobstore.BlobStore> getBlobStoreServices()
Overrides:
getBlobStoreServices in class BlobStoreCommandBase

getBlobStore

protected org.jclouds.blobstore.BlobStore getBlobStore()


Copyright © 2012. All Rights Reserved.