Class ExecutionResult
java.lang.Object
com.thoughtworks.go.plugin.api.response.Result
com.thoughtworks.go.plugin.api.response.execution.ExecutionResult
Deprecated.
Used to specify the result of an execution of a part of a plugin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionResultDeprecated.Mark the result as 'Failure'.static ExecutionResultDeprecated.Mark the result as 'Failure'.static ExecutionResultDeprecated.Mark the result as 'Success'.Methods inherited from class com.thoughtworks.go.plugin.api.response.Result
getMessages, getMessagesForDisplay, isSuccessful, withErrorMessages, withErrorMessages, withSuccessMessages, withSuccessMessages
-
Constructor Details
-
ExecutionResult
public ExecutionResult()Deprecated.
-
-
Method Details
-
failure
Deprecated.Mark the result as 'Failure'.- Parameters:
message- More details about the failure.exception- (currently not used)- Returns:
- A new ExecutionResult instance, which is marked as 'Failure'.
-
failure
Deprecated.Mark the result as 'Failure'.- Parameters:
message- More details about the failure.- Returns:
- A new ExecutionResult instance, which is marked as 'Failure'.
-
success
Deprecated.Mark the result as 'Success'.- Parameters:
message- More details about the run.- Returns:
- A new ExecutionResult instance, which is marked as 'Success'.
-