org.apache.whirr.karaf.command
Class RunScript

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.apache.whirr.karaf.command.support.WhirrCommandSupport
              extended by org.apache.whirr.karaf.command.RunScript
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware

public class RunScript
extends WhirrCommandSupport


Field Summary
protected  List<String> instances
           
protected  List<String> roles
           
protected  String script
           
 
Fields inherited from class org.apache.whirr.karaf.command.support.WhirrCommandSupport
clusterControllerFactory, clusterName, computeServices, configurationAdmin, endpoint, fileName, hardwareId, imageId, locationId, name, pid, privateKey, provider, templates
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
bundleContext, usedReferences
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
RunScript()
           
 
Method Summary
protected  Object doExecute()
           
 
Methods inherited from class org.apache.whirr.karaf.command.support.WhirrCommandSupport
getClusterControllerFactory, getClusterSpec, getComputeServiceByName, getComputeServiceByProvider, getConfiguration, getConfigurationAdmin, getTemplate, getTemplateBuilder, setClusterControllerFactory, setComputeServices, setConfigurationAdmin, validateInput
 
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instances

protected List<String> instances

roles

protected List<String> roles

script

protected String script
Constructor Detail

RunScript

public RunScript()
Method Detail

doExecute

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


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.