de.flapdoodle.embed.process.runtime
Class Executable<T extends ExecutableProcessConfig,P extends IStopable>
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Executable
public Executable(Distribution distribution,
T config,
IRuntimeConfig runtimeConfig,
File executable)
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.