de.flapdoodle.embed.nodejs
Class NodejsProcess

java.lang.Object
  extended by de.flapdoodle.embed.process.runtime.AbstractProcess<NodejsConfig,NodejsExecutable,NodejsProcess>
      extended by de.flapdoodle.embed.nodejs.NodejsProcess

public class NodejsProcess
extends de.flapdoodle.embed.process.runtime.AbstractProcess<NodejsConfig,NodejsExecutable,NodejsProcess>


Field Summary
 
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)
           
 
Method Summary
protected  List<String> getCommandLine(de.flapdoodle.embed.process.distribution.Distribution distribution, NodejsConfig config, File exe)
           
protected  void onBeforeProcessStart(ProcessBuilder processBuilder, NodejsConfig config, de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig)
           
 void stop()
           
protected  de.flapdoodle.embed.process.config.ISupportConfig supportConfig()
           
 
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
 

Constructor Detail

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
Method Detail

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.