public abstract class Executable<T extends ExecutableProcessConfig,P extends IStopable> extends Object implements IStopable
| Constructor and Description |
|---|
Executable(Distribution distribution,
T config,
RuntimeConfig runtimeConfig,
ExtractedFileSet executable) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Deprecated.
|
ExtractedFileSet |
getFile() |
boolean |
isRegisteredJobKiller() |
P |
start() |
protected abstract P |
start(Distribution distribution,
T config,
RuntimeConfig runtime) |
void |
stop() |
public Executable(Distribution distribution, T config, RuntimeConfig runtimeConfig, ExtractedFileSet executable)
public boolean isRegisteredJobKiller()
isRegisteredJobKiller in interface IStopable@Deprecated public void cleanup()
public ExtractedFileSet getFile()
public P start() throws IOException
IOExceptionprotected abstract P start(Distribution distribution, T config, RuntimeConfig runtime) throws IOException
IOExceptionCopyright © 2020. All rights reserved.