org.jclouds.karaf.commands.compute
Class ComputeRunscriptBase
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.RunScriptBase
org.jclouds.karaf.commands.compute.ComputeRunscriptBase
- All Implemented Interfaces:
- org.apache.felix.gogo.commands.Action
- Direct Known Subclasses:
- GroupRunScriptCommand, NodeRunScriptCommand
public abstract class ComputeRunscriptBase
- extends RunScriptBase
| Fields inherited from class org.apache.karaf.shell.console.AbstractAction |
log, session |
| 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 |
ComputeRunscriptBase
public ComputeRunscriptBase()
getScript
public String getScript()
- Returns the script to run. If url is specified the script is read from the url.
- Specified by:
getScript in class RunScriptBase
getStatement
public org.jclouds.scriptbuilder.domain.Statement getStatement()
- Specified by:
getStatement in class RunScriptBase
runAsRoot
public boolean runAsRoot()
- Specified by:
runAsRoot in class RunScriptBase
Copyright © 2013. All Rights Reserved.