com.atlassian.bamboo.logger
Interface AdminErrorHandler

All Known Implementing Classes:
AdminErrorHandlerImpl

public interface AdminErrorHandler

Describes an abstraction for dealing with errors that occure while building builds.


Method Summary
 void clear()
          Remove all errors from the handler
 java.lang.String getError(java.lang.String errorKey)
          Obtain the specifed error from the handler.
 java.util.Map getErrors()
          Obtain all the errors recorded
 void recordError(java.lang.String errorKey, java.lang.String message)
          Record a error
 void removeError(java.lang.String errorKey)
          Remove a specific error from the handler.
 

Method Detail

recordError

void recordError(java.lang.String errorKey,
                 java.lang.String message)
Record a error

Parameters:
errorKey -
message -

getErrors

java.util.Map getErrors()
Obtain all the errors recorded


clear

void clear()
Remove all errors from the handler


removeError

void removeError(java.lang.String errorKey)
Remove a specific error from the handler.

Parameters:
errorKey -

getError

java.lang.String getError(java.lang.String errorKey)
Obtain the specifed error from the handler.

Parameters:
errorKey -
Returns:
The error details


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.