@ThreadSafe @PublicApi public interface ErrorHandler extends ErrorUpdateHandler, ErrorAccessor
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all errors from the handler
|
ErrorDetails |
getErrorDetails(String buildKey,
int errorNumber)
Obtain the specified error from the handler.
|
void |
removeBuildErrors(String buildKey)
Remove all the errors for a given build
|
void |
removeError(String buildKey,
int errorIndex)
Remove a specific error from the handler.
|
addErrorCollection, createElasticError, createError, recordElasticError, recordError, recordError, recordError, recordError, recordError, recordError, recordErrorgetAllErrors, getElasticErrors, getErrors, getErrors, getErrorsByAgentIdvoid clear()
void removeError(String buildKey, int errorIndex)
buildKey - The build containing the errorerrorIndex - The errorIndex'th error to be associated with the buildvoid removeBuildErrors(String buildKey)
buildKey - The key of the buildErrorDetails getErrorDetails(String buildKey, int errorNumber)
buildKey - The build containing the error.errorNumber - The errorIndex'th error to be associated with the buildCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.