Package com.atlassian.bamboo.logger
Interface AdminErrorHandler
- All Known Implementing Classes:
AdminErrorHandlerImpl
public interface AdminErrorHandler
Describes an abstraction for dealing with errors that occur while building builds.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Remove all errors from the handlerObtain the specifed error from the handler.Obtain all the errors recordedvoid
recordError
(String errorKey, String message) Record a errorvoid
removeError
(String errorKey) Remove a specific error from the handler.
-
Method Details
-
recordError
Record a error- Parameters:
errorKey
-message
-
-
getErrors
Obtain all the errors recorded -
clear
void clear()Remove all errors from the handler -
removeError
Remove a specific error from the handler.- Parameters:
errorKey
-
-
getError
Obtain the specifed error from the handler.- Parameters:
errorKey
-- Returns:
- The error details
-