org.apache.whirr.actions
Class ConfigureClusterAction

java.lang.Object
  extended by org.apache.whirr.ClusterAction
      extended by org.apache.whirr.actions.ScriptBasedClusterAction
          extended by org.apache.whirr.actions.ConfigureClusterAction

public class ConfigureClusterAction
extends ScriptBasedClusterAction

A ClusterAction for running a configuration script on instances in the cluster after it has been bootstrapped.


Constructor Summary
ConfigureClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, Map<String,ClusterActionHandler> handlerMap)
           
 
Method Summary
protected  void doAction(Map<InstanceTemplate,ClusterActionEvent> eventMap)
           
protected  String getAction()
           
 
Methods inherited from class org.apache.whirr.actions.ScriptBasedClusterAction
execute
 
Methods inherited from class org.apache.whirr.ClusterAction
getCompute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigureClusterAction

public ConfigureClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute,
                              Map<String,ClusterActionHandler> handlerMap)
Method Detail

getAction

protected String getAction()
Specified by:
getAction in class ClusterAction

doAction

protected void doAction(Map<InstanceTemplate,ClusterActionEvent> eventMap)
                 throws IOException
Specified by:
doAction in class ScriptBasedClusterAction
Throws:
IOException


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