org.jclouds.karaf.commands.compute
Class ComputeCommandWithOptions

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
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action
Direct Known Subclasses:
ComputeServiceCreateCommand, GroupDestroyCommand, HardwareListCommand, ImageCreateCommand, ImageListCommand, LocationListCommand, NodeCreateCommand, NodeDestroyAllCommand, NodeDestroyCommand, NodeInfoCommand, NodeListCommand, NodeResumeCommand, NodeRunScriptSupport, NodeSuspendCommand, ProviderInfoCommand

public abstract class ComputeCommandWithOptions
extends ComputeCommandBase

Author:
Guillaume Nodet (gnodet)

Field Summary
protected  java.lang.String api
           
protected  java.lang.String credential
           
protected  java.lang.String endpoint
           
protected  java.lang.String id
           
protected  java.lang.String identity
           
protected  java.lang.String provider
           
 
Fields inherited from class org.jclouds.karaf.commands.compute.ComputeCommandBase
cacheProvider, computeServices, configAdmin, FACTORY_FILTER, NODE_DETAILS_FORMAT, PROVIDERFORMAT, shellTableFactory
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
ComputeCommandWithOptions()
           
 
Method Summary
protected  org.jclouds.compute.ComputeService getComputeService()
           
 java.util.List<org.jclouds.compute.ComputeService> getComputeServices()
           
 
Methods inherited from class org.jclouds.karaf.commands.compute.ComputeCommandBase
execute, findOrCreateFactoryConfiguration, getAllLocations, getCacheProvider, getConfigAdmin, getCpuCores, getCpuUnits, getMemory, getOperatingSystemDetails, getPrivateAddresses, getPublicAddresses, getShellTableFactory, printComputeApis, printComputeProviders, printHardwares, printImages, printLocations, printNodeInfo, printNodes, setCacheProvider, setComputeServices, setConfigAdmin, setShellTableFactory
 
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

id

protected java.lang.String id

provider

protected java.lang.String provider

api

protected java.lang.String api

identity

protected java.lang.String identity

credential

protected java.lang.String credential

endpoint

protected java.lang.String endpoint
Constructor Detail

ComputeCommandWithOptions

public ComputeCommandWithOptions()
Method Detail

getComputeServices

public java.util.List<org.jclouds.compute.ComputeService> getComputeServices()
Overrides:
getComputeServices in class ComputeCommandBase

getComputeService

protected org.jclouds.compute.ComputeService getComputeService()


Copyright © 2012. All Rights Reserved.