org.jclouds.karaf.commands.compute
Class NodeRunScriptSupport

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.NodeRunScriptSupport
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action
Direct Known Subclasses:
GroupRunScriptCommand, NodeRunScriptCommand

public abstract class NodeRunScriptSupport
extends ComputeCommandWithOptions

Author:
Guillaume Nodet (gnodet)

Field Summary
 
Fields inherited from class org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
api, credential, endpoint, identity, name, 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
NodeRunScriptSupport()
           
 
Method Summary
protected  Object doExecute()
           
 com.google.common.base.Predicate<org.jclouds.compute.domain.ComputeMetadata> getComputeFilter()
           
abstract  String getGroup()
           
abstract  String getId()
           
 com.google.common.base.Predicate<org.jclouds.compute.domain.NodeMetadata> getNodeFilter()
           
 
Methods inherited from class org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
getComputeService, 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeRunScriptSupport

public NodeRunScriptSupport()
Method Detail

getId

public abstract String getId()

getGroup

public abstract String getGroup()

doExecute

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

getNodeFilter

public com.google.common.base.Predicate<org.jclouds.compute.domain.NodeMetadata> getNodeFilter()

getComputeFilter

public com.google.common.base.Predicate<org.jclouds.compute.domain.ComputeMetadata> getComputeFilter()


Copyright © 2012. All Rights Reserved.