org.apache.whirr.service
Class DryRunModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.apache.whirr.service.DryRunModule
All Implemented Interfaces:
com.google.inject.Module

public class DryRunModule
extends com.google.inject.AbstractModule

Outputs orchestration jclouds does to INFO logging and saves an ordered list of all scripts executed on the cluster that can be used to make assertions. Use in tests by setting whirr.provider to "stub" and make sure you do not specify a hardware, image, or location id.


Nested Class Summary
static class DryRunModule.DryRun
           
 
Constructor Summary
DryRunModule()
           
 
Method Summary
protected  void configure()
           
static String md5Hex(com.google.common.io.InputSupplier<? extends InputStream> supplier)
           
static String md5Hex(String in)
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DryRunModule

public DryRunModule()
Method Detail

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule

md5Hex

public static String md5Hex(String in)

md5Hex

public static String md5Hex(com.google.common.io.InputSupplier<? extends InputStream> supplier)


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