org.jclouds.karaf.commands.compute
Class ComputeCreateCommand

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.jclouds.karaf.commands.compute.ComputeCommandBase
          extended by org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
              extended by org.jclouds.karaf.commands.compute.ComputeServiceCommand
                  extended by org.jclouds.karaf.commands.compute.ComputeCreateCommand
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action

public class ComputeCreateCommand
extends ComputeServiceCommand


Field Summary
protected  boolean noWait
           
protected  String[] options
           
 
Fields inherited from class org.jclouds.karaf.commands.compute.ComputeServiceCommand
configAdmin, FACTORY_FILTER
 
Fields inherited from class org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
api, credential, endpoint, identity, provider
 
Fields inherited from class org.jclouds.karaf.commands.compute.ComputeCommandBase
cacheProvider, computeServices, HARDWAREFORMAT, IMAGEFORMAT, LOCATIONFORMAT, NODEFORMAT, PROVIDERFORMAT
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
ComputeCreateCommand()
           
 
Method Summary
protected  Object doExecute()
           
 org.osgi.framework.BundleContext getBundleContext()
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 org.jclouds.compute.ComputeService waitForComputeService(org.osgi.framework.BundleContext bundleContext, String provider, String api)
          Waits for the ComputeService registration.
 
Methods inherited from class org.jclouds.karaf.commands.compute.ComputeServiceCommand
findOrCreateFactoryConfiguration, getConfigAdmin, setConfigAdmin
 
Methods inherited from class org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
getComputeService, getComputeServices
 
Methods inherited from class org.jclouds.karaf.commands.compute.ComputeCommandBase
execute, getAllLocations, getCacheProvider, getCpuCores, getCpuUnits, getMemory, getOperatingSystemDetails, getPrivateAddresses, getPublicAddresses, printComputeApis, printComputeProviders, printHardwares, printImages, printLocations, printLocations, printNodeInfo, printNodes, setCacheProvider, setComputeServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

options

protected String[] options

noWait

protected boolean noWait
Constructor Detail

ComputeCreateCommand

public ComputeCreateCommand()
Method Detail

doExecute

protected Object doExecute()
                    throws Exception
Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
Throws:
Exception

waitForComputeService

public org.jclouds.compute.ComputeService waitForComputeService(org.osgi.framework.BundleContext bundleContext,
                                                                String provider,
                                                                String api)
Waits for the ComputeService registration.

Parameters:
bundleContext -
provider -
api -
Returns:

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)


Copyright © 2012. All Rights Reserved.