public class ExecutionResult extends Result
| Constructor and Description |
|---|
ExecutionResult() |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionResult |
failure(String message)
Mark the result as 'Failure'.
|
static ExecutionResult |
failure(String message,
Exception exception)
Mark the result as 'Failure'.
|
static ExecutionResult |
success(String message)
Mark the result as 'Success'.
|
getMessages, getMessagesForDisplay, isSuccessful, withErrorMessages, withErrorMessages, withSuccessMessages, withSuccessMessagespublic static ExecutionResult failure(String message, Exception exception)
message - More details about the failure.exception - (currently not used)public static ExecutionResult failure(String message)
message - More details about the failure.public static ExecutionResult success(String message)
message - More details about the run.Copyright © 2014 ThoughtWorks, Inc. Go Version: 16.2.1-175