|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.logger.AdminErrorHandlerImpl
@ThreadSafe public class AdminErrorHandlerImpl
Constructor Summary | |
---|---|
AdminErrorHandlerImpl()
|
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<java.lang.String,java.lang.String> |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminErrorHandlerImpl()
Method Detail |
---|
public void recordError(java.lang.String errorKey, java.lang.String message)
AdminErrorHandler
recordError
in interface AdminErrorHandler
public java.util.Map<java.lang.String,java.lang.String> getErrors()
AdminErrorHandler
getErrors
in interface AdminErrorHandler
public void clear()
AdminErrorHandler
clear
in interface AdminErrorHandler
public void removeError(java.lang.String errorKey)
AdminErrorHandler
removeError
in interface AdminErrorHandler
public java.lang.String getError(java.lang.String errorKey)
AdminErrorHandler
getError
in interface AdminErrorHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |