|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface ErrorHandler
Describes an abstraction for dealing with errors that occure while building builds.
Method Summary | |
---|---|
void |
clear()
Remove all errors from the handler |
ErrorDetails |
getErrorDetails(java.lang.String buildKey,
int errorNumber)
Obtain the specifed error from the handler. |
void |
removeBuildErrors(java.lang.String buildKey)
Remove all the errors for a given build |
void |
removeError(java.lang.String buildKey,
int errorIndex)
Remove a specific error from the handler. |
Methods inherited from interface com.atlassian.bamboo.logger.ErrorUpdateHandler |
---|
addErrorCollection, createElasticError, createError, recordElasticError, recordError, recordError, recordError, recordError, recordError, recordError, recordError, recordError |
Methods inherited from interface com.atlassian.bamboo.logger.ErrorAccessor |
---|
getAllErrors, getElasticErrors, getErrors, getErrors |
Method Detail |
---|
void clear()
void removeError(java.lang.String buildKey, int errorIndex)
buildKey
- The build containing the errorerrorIndex
- The errorIndex'th error to be associated with the buildvoid removeBuildErrors(java.lang.String buildKey)
buildKey
- The key of the buildErrorDetails getErrorDetails(java.lang.String buildKey, int errorNumber)
buildKey
- The build containing the error.errorNumber
- The errorIndex'th error to be associated with the build
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |