public abstract class RunScriptBase extends ComputeCommandWithOptions
| Modifier and Type | Field and Description |
|---|---|
protected String |
password |
protected String |
user |
api, credential, endpoint, identity, name, propertiesFile, providercacheProvider, computeServices, configAdmin, FACTORY_FILTER, NODE_DETAILS_FORMAT, PROVIDERFORMAT, shellTableFactory| Constructor and Description |
|---|
RunScriptBase() |
| Modifier and Type | Method and Description |
|---|---|
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() |
abstract String |
getScript() |
abstract org.jclouds.scriptbuilder.domain.Statement |
getStatement() |
abstract boolean |
runAsRoot() |
getComputeService, getComputeServicesexecute, findOrCreateFactoryConfiguration, getAllLocations, getCacheProvider, getConfigAdmin, getCpuCores, getCpuUnits, getMemory, getOperatingSystemDetails, getPrivateAddresses, getPublicAddresses, getShellTableFactory, printComputeApis, printComputeProviders, printHardwares, printImages, printLocations, printNodeInfo, printNodes, setCacheProvider, setComputeServices, setConfigAdmin, setShellTableFactorypublic abstract String getId()
public abstract String getGroup()
public abstract String getScript()
public abstract org.jclouds.scriptbuilder.domain.Statement getStatement()
public abstract boolean runAsRoot()
protected Object doExecute() throws Exception
doExecute in class org.apache.karaf.shell.console.AbstractActionExceptionpublic com.google.common.base.Predicate<org.jclouds.compute.domain.NodeMetadata> getNodeFilter()
public com.google.common.base.Predicate<org.jclouds.compute.domain.ComputeMetadata> getComputeFilter()
Copyright © 2013. All Rights Reserved.