com.lordofthejars.nosqlunit.redis
Class ManagedRedis

java.lang.Object
  extended by org.junit.rules.ExternalResource
      extended by com.lordofthejars.nosqlunit.core.AbstractLifecycleManager
          extended by com.lordofthejars.nosqlunit.redis.ManagedRedis
All Implemented Interfaces:
org.junit.rules.TestRule

public class ManagedRedis
extends AbstractLifecycleManager


Nested Class Summary
static class ManagedRedis.ManagedRedisRuleBuilder
           
 
Field Summary
protected static int DEFAULT_PORT
           
protected static String DEFAULT_REDIS_TARGET_PATH
           
protected static String REDIS_BINARY_DIRECTORY
           
protected static String REDIS_EXECUTABLE_X
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
protected  String getHost()
           
protected  int getPort()
           
protected  void setCommandLineExecutor(CommandLineExecutor commandLineExecutor)
           
protected  void setOperatingSystemResolver(OperatingSystemResolver operatingSystemResolver)
           
 
Methods inherited from class com.lordofthejars.nosqlunit.core.AbstractLifecycleManager
after, before
 
Methods inherited from class org.junit.rules.ExternalResource
apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

protected static final int DEFAULT_PORT
See Also:
Constant Field Values

DEFAULT_REDIS_TARGET_PATH

protected static final String DEFAULT_REDIS_TARGET_PATH

REDIS_BINARY_DIRECTORY

protected static final String REDIS_BINARY_DIRECTORY
See Also:
Constant Field Values

REDIS_EXECUTABLE_X

protected static final String REDIS_EXECUTABLE_X
See Also:
Constant Field Values
Method Detail

getHost

protected String getHost()
Specified by:
getHost in class AbstractLifecycleManager

getPort

protected int getPort()
Specified by:
getPort in class AbstractLifecycleManager

doStart

protected void doStart()
                throws Throwable
Specified by:
doStart in class AbstractLifecycleManager
Throws:
Throwable

doStop

protected void doStop()
Specified by:
doStop in class AbstractLifecycleManager

setOperatingSystemResolver

protected void setOperatingSystemResolver(OperatingSystemResolver operatingSystemResolver)

setCommandLineExecutor

protected void setCommandLineExecutor(CommandLineExecutor commandLineExecutor)


Copyright © 2012. All Rights Reserved.