Package com.diffplug.spotless
Class ProcessRunner.Result
java.lang.Object
com.diffplug.spotless.ProcessRunner.Result
- Enclosing class:
ProcessRunner
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Result
-
-
Method Details
-
args
-
exitCode
public int exitCode() -
stdOut
public byte[] stdOut() -
stdErr
public byte[] stdErr() -
stdOutUtf8
-
stdErrUtf8
-
exitNotZero
public boolean exitNotZero()Returns true if the exit code was not zero. -
assertExitZero
Asserts that the exit code was zero, and if so, returns the content of stdout encoded with the given charset.If the exit code was not zero, throws an exception with useful debugging information.
-
toString
-