NativeGitProvider.ProcessRunnerprotected static class NativeGitProvider.JavaProcessRunner extends java.lang.Object implements NativeGitProvider.ProcessRunner
| Modifier | Constructor | Description |
|---|---|---|
protected |
JavaProcessRunner() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
run(java.io.File directory,
long nativeGitTimeoutInMs,
java.lang.String command) |
Run a command and return the entire output as a String - naive, we know.
|
boolean |
runEmpty(java.io.File directory,
long nativeGitTimeoutInMs,
java.lang.String command) |
Run a command and return false if it contains at least one output line
|
public java.lang.String run(java.io.File directory,
long nativeGitTimeoutInMs,
java.lang.String command)
throws java.io.IOException
NativeGitProvider.ProcessRunnerrun in interface NativeGitProvider.ProcessRunnerjava.io.IOExceptionpublic boolean runEmpty(java.io.File directory,
long nativeGitTimeoutInMs,
java.lang.String command)
throws java.io.IOException
NativeGitProvider.ProcessRunnerrunEmpty in interface NativeGitProvider.ProcessRunnerjava.io.IOExceptionCopyright © 2020. All Rights Reserved.