public interface StepExecutionResult
| Modifier and Type | Interface and Description |
|---|---|
static class |
StepExecutionResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StepExecutionResult.Builder |
builder() |
Optional<Exception> |
getCause() |
com.google.common.collect.ImmutableList<String> |
getExecutedCommand() |
int |
getExitCode() |
Optional<String> |
getStderr() |
default boolean |
isSuccess() |
static StepExecutionResult |
of(int exitCode)
Creates
StepExecutionResult from exitCode |
static StepExecutionResult |
of(ProcessExecutor.Result result)
Creates
StepExecutionResult from ProcessExecutor.Result |
int getExitCode()
com.google.common.collect.ImmutableList<String> getExecutedCommand()
default boolean isSuccess()
static StepExecutionResult of(int exitCode)
StepExecutionResult from exitCodestatic StepExecutionResult of(ProcessExecutor.Result result)
StepExecutionResult from ProcessExecutor.Resultstatic StepExecutionResult.Builder builder()