Interface ActionExecutionResult
-
- All Known Subinterfaces:
ActionExecutionResult.ActionExecutionFailure
,ActionExecutionResult.ActionExecutionSuccess
public interface ActionExecutionResult
Represents the result of executing theAction
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ActionExecutionResult.ActionExecutionFailure
execution that failedstatic interface
ActionExecutionResult.ActionExecutionSuccess
A successful action execution
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ActionExecutionResult.ActionExecutionFailure
failure(Optional<String> stdOut, Optional<String> stdErr, com.google.common.collect.ImmutableList<String> command, Optional<Exception> exception)
com.google.common.collect.ImmutableList<String>
getCommand()
Optional<String>
getStdErr()
Optional<String>
getStdOut()
static ActionExecutionResult.ActionExecutionSuccess
success(Optional<String> stdOut, Optional<String> stdErr, com.google.common.collect.ImmutableList<String> command)
-