org.jclouds.karaf.commands.compute
Class NodeRunScriptSupport
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
org.jclouds.karaf.commands.compute.ComputeCommandSupport
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)
| Fields inherited from class org.apache.karaf.shell.console.AbstractAction |
log, session |
| Methods inherited from class org.jclouds.karaf.commands.compute.ComputeCommandSupport |
getAllLocations, getCacheProvider, getComputeService, getComputeServices, getConfigurationAdmin, getCpuCores, getCpuUnits, getMemory, getOperatingSystemDetails, getPrivateAddresses, getPublicAddresses, printComputeApis, printComputeProviders, printHardwares, printImages, printLocations, printLocations, printNodeInfo, printNodes, setCacheProvider, setComputeServices, setConfigurationAdmin |
| Methods inherited from class org.apache.karaf.shell.console.AbstractAction |
execute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeRunScriptSupport
public NodeRunScriptSupport()
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.