de.flapdoodle.embed.process.runtime
Class Executable<T extends ExecutableProcessConfig,P extends IStopable>

java.lang.Object
  extended by de.flapdoodle.embed.process.runtime.Executable<T,P>
All Implemented Interfaces:
IStopable

public abstract class Executable<T extends ExecutableProcessConfig,P extends IStopable>
extends Object
implements IStopable


Constructor Summary
Executable(Distribution distribution, T config, IRuntimeConfig runtimeConfig, File executable)
           
 
Method Summary
 void cleanup()
          Deprecated. 
 File getFile()
           
 P start()
           
protected abstract  P start(Distribution distribution, T config, IRuntimeConfig runtime)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Executable

public Executable(Distribution distribution,
                  T config,
                  IRuntimeConfig runtimeConfig,
                  File executable)
Method Detail

cleanup

@Deprecated
public void cleanup()
Deprecated. 

use stop


stop

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

getFile

public File getFile()

start

public P start()
                          throws IOException
Throws:
IOException

start

protected abstract P start(Distribution distribution,
                           T config,
                           IRuntimeConfig runtime)
                                      throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.