public static class ProcessExecutor.Result extends Object
ProcessExecutor.launchAndExecute(ProcessExecutorParams, Set,
Optional, Optional, Optional)
.Modifier and Type | Field and Description |
---|---|
com.google.common.collect.ImmutableList<String> |
command |
Constructor and Description |
---|
Result(int exitCode,
boolean timedOut,
Optional<String> stdout,
Optional<String> stderr,
com.google.common.collect.ImmutableList<String> command) |
Result(int exitCode,
com.google.common.collect.ImmutableList<String> command) |
Result(int exitCode,
String stdout,
String stderr,
com.google.common.collect.ImmutableList<String> command) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<String> |
getCommand() |
int |
getExitCode() |
String |
getMessageForResult(String message) |
String |
getMessageForUnexpectedResult(String subject) |
Optional<String> |
getStderr() |
Optional<String> |
getStdout() |
boolean |
isTimedOut() |
public final com.google.common.collect.ImmutableList<String> command
public Result(int exitCode, boolean timedOut, Optional<String> stdout, Optional<String> stderr, com.google.common.collect.ImmutableList<String> command)
public Result(int exitCode, String stdout, String stderr, com.google.common.collect.ImmutableList<String> command)
public Result(int exitCode, com.google.common.collect.ImmutableList<String> command)
public int getExitCode()
public boolean isTimedOut()
public com.google.common.collect.ImmutableList<String> getCommand()