com.github.dreamhead.moco.runner
Class JsonRunner

java.lang.Object
  extended by com.github.dreamhead.moco.runner.JsonRunner
All Implemented Interfaces:
Runner

public class JsonRunner
extends java.lang.Object
implements Runner


Method Summary
static JsonRunner newJsonRunnerWithSetting(java.lang.Iterable<? extends RunnerSetting> settings, com.google.common.base.Optional<java.lang.Integer> port)
           
static JsonRunner newJsonRunnerWithStreams(java.lang.Iterable<? extends java.io.InputStream> streams, com.google.common.base.Optional<java.lang.Integer> port)
           
 void run()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public void run()
Specified by:
run in interface Runner

stop

public void stop()
Specified by:
stop in interface Runner

newJsonRunnerWithStreams

public static JsonRunner newJsonRunnerWithStreams(java.lang.Iterable<? extends java.io.InputStream> streams,
                                                  com.google.common.base.Optional<java.lang.Integer> port)

newJsonRunnerWithSetting

public static JsonRunner newJsonRunnerWithSetting(java.lang.Iterable<? extends RunnerSetting> settings,
                                                  com.google.common.base.Optional<java.lang.Integer> port)