|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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<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. |
Method Detail |
---|
void recordError(java.lang.String errorKey, java.lang.String message)
errorKey
- message
- java.util.Map<java.lang.String,java.lang.String> getErrors()
void clear()
void removeError(java.lang.String errorKey)
errorKey
- java.lang.String getError(java.lang.String errorKey)
errorKey
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |