de.flapdoodle.embed.process.runtime
Class Starter<CONFIG extends ExecutableProcessConfig,EXECUTABLE extends Executable<CONFIG,PROCESS>,PROCESS extends IStopable>

java.lang.Object
  extended by de.flapdoodle.embed.process.runtime.Starter<CONFIG,EXECUTABLE,PROCESS>

public abstract class Starter<CONFIG extends ExecutableProcessConfig,EXECUTABLE extends Executable<CONFIG,PROCESS>,PROCESS extends IStopable>
extends Object


Constructor Summary
protected Starter(IRuntimeConfig config)
           
 
Method Summary
protected  boolean checkDistribution(Distribution distribution)
           
protected  File extractExe(Distribution distribution)
           
protected abstract  EXECUTABLE newExecutable(CONFIG config, Distribution distribution, IRuntimeConfig runtime, File exe)
           
 EXECUTABLE prepare(CONFIG config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Starter

protected Starter(IRuntimeConfig config)
Method Detail

checkDistribution

protected boolean checkDistribution(Distribution distribution)
                             throws IOException
Throws:
IOException

prepare

public EXECUTABLE prepare(CONFIG config)

extractExe

protected File extractExe(Distribution distribution)
                   throws IOException
Throws:
IOException

newExecutable

protected abstract EXECUTABLE newExecutable(CONFIG config,
                                            Distribution distribution,
                                            IRuntimeConfig runtime,
                                            File exe)


Copyright © 2012. All Rights Reserved.