Class ProcessWrapperImpl
java.lang.Object
org.sonar.plugins.javascript.nodejs.ProcessWrapperImpl
- All Implemented Interfaces:
ProcessWrapper
-
Constructor Details
-
ProcessWrapperImpl
public ProcessWrapperImpl()
-
-
Method Details
-
startProcess
public Process startProcess(List<String> commandLine, Map<String, String> env, Consumer<String> outputConsumer, Consumer<String> errorConsumer) throws IOException- Specified by:
startProcess
in interfaceProcessWrapper
- Throws:
IOException
-
waitFor
- Specified by:
waitFor
in interfaceProcessWrapper
- Throws:
InterruptedException
-
interrupt
public void interrupt()- Specified by:
interrupt
in interfaceProcessWrapper
-
destroyForcibly
- Specified by:
destroyForcibly
in interfaceProcessWrapper
-
isMac
public boolean isMac()- Specified by:
isMac
in interfaceProcessWrapper
-
isWindows
public boolean isWindows()- Specified by:
isWindows
in interfaceProcessWrapper
-
getenv
- Specified by:
getenv
in interfaceProcessWrapper
-
exitValue
- Specified by:
exitValue
in interfaceProcessWrapper
-