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.ComputeCommandSupport
          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 ComputeCommandSupport

Author:
Guillaume Nodet (gnodet)

Field Summary
 
Fields inherited from class org.jclouds.karaf.commands.compute.ComputeCommandSupport
api, cacheProvider, credential, endpoint, HARDWAREFORMAT, identity, IMAGEFORMAT, LOCATIONFORMAT, NODEFORMAT, provider, PROVIDERFORMAT
 
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.ComputeCommandSupport
execute, getAllLocations, getCacheProvider, getComputeService, getComputeServices, getConfigAdmin, getCpuCores, getCpuUnits, getMemory, getOperatingSystemDetails, getPrivateAddresses, getPublicAddresses, printComputeApis, printComputeProviders, printHardwares, printImages, printLocations, printLocations, printNodeInfo, printNodes, setCacheProvider, setComputeServices, setConfigAdmin
 
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.