de.flapdoodle.embed.nodejs
Class NodejsProcess
java.lang.Object
de.flapdoodle.embed.process.runtime.AbstractProcess<NodejsConfig,NodejsExecutable,NodejsProcess>
de.flapdoodle.embed.nodejs.NodejsProcess
public class NodejsProcess
- extends de.flapdoodle.embed.process.runtime.AbstractProcess<NodejsConfig,NodejsExecutable,NodejsProcess>
| Fields inherited from class de.flapdoodle.embed.process.runtime.AbstractProcess |
TIMEOUT |
|
Constructor Summary |
NodejsProcess(de.flapdoodle.embed.process.distribution.Distribution distribution,
NodejsConfig config,
de.flapdoodle.embed.process.config.IRuntimeConfig runtime,
NodejsExecutable nodejsExecutable)
|
| Methods inherited from class de.flapdoodle.embed.process.runtime.AbstractProcess |
getConfig, onAfterProcessStart, onBeforeProcess, sendKillToProcess, setProcessId, stopProcess, tryKillToProcess, waitFor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodejsProcess
public NodejsProcess(de.flapdoodle.embed.process.distribution.Distribution distribution,
NodejsConfig config,
de.flapdoodle.embed.process.config.IRuntimeConfig runtime,
NodejsExecutable nodejsExecutable)
throws IOException
- Throws:
IOException
onBeforeProcessStart
protected void onBeforeProcessStart(ProcessBuilder processBuilder,
NodejsConfig config,
de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig)
- Overrides:
onBeforeProcessStart in class de.flapdoodle.embed.process.runtime.AbstractProcess<NodejsConfig,NodejsExecutable,NodejsProcess>
getCommandLine
protected List<String> getCommandLine(de.flapdoodle.embed.process.distribution.Distribution distribution,
NodejsConfig config,
File exe)
throws IOException
- Specified by:
getCommandLine in class de.flapdoodle.embed.process.runtime.AbstractProcess<NodejsConfig,NodejsExecutable,NodejsProcess>
- Throws:
IOException
supportConfig
protected de.flapdoodle.embed.process.config.ISupportConfig supportConfig()
- Specified by:
supportConfig in class de.flapdoodle.embed.process.runtime.AbstractProcess<NodejsConfig,NodejsExecutable,NodejsProcess>
stop
public void stop()
- Specified by:
stop in class de.flapdoodle.embed.process.runtime.AbstractProcess<NodejsConfig,NodejsExecutable,NodejsProcess>
Copyright © 2012. All Rights Reserved.