org.jclouds.karaf.commands.compute
Class ComputeCreateCommand
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
org.jclouds.karaf.commands.compute.ComputeCommandBase
org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
org.jclouds.karaf.commands.compute.ComputeServiceCommand
org.jclouds.karaf.commands.compute.ComputeCreateCommand
- All Implemented Interfaces:
- org.apache.felix.gogo.commands.Action
public class ComputeCreateCommand
- extends ComputeServiceCommand
| Fields inherited from class org.apache.karaf.shell.console.AbstractAction |
log, session |
| 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 |
options
protected String[] options
noWait
protected boolean noWait
ComputeCreateCommand
public ComputeCreateCommand()
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.