Interface MessageHandlerErrorCollector
- All Known Subinterfaces:
MessageHandlerExecutionMonitor
- All Known Implementing Classes:
NoopMessageHandlerExecutionMonitor
@PublicApi
public interface MessageHandlerErrorCollector
Message handlers should report here what they are doing.
Depending on the context in which handlers are run (either normal production run as from a
scheduled service or in a test mode - a dry run - from UI) this information can be transparently
routed to appropriate place.
Consider passing here translated strings (i18n), do not pass i18n keys.
- Since:
- v5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidReport an error.voidReport an error.voidReport valuable information for JIRA adminvoidReport valuable information for JIRA adminvoidReport a warningvoidReport a warning
-
Method Details
-
error
Report an error.- Parameters:
error- a serious problem which usually makes further handling of given message pointlesse- associated throwable ornull
-
error
Report an error.- Parameters:
error- a serious problem which usually makes further handling of given message pointless
-
warning
Report a warning- Parameters:
warning- a warning, but nothing critical for the handler
-
warning
Report a warning- Parameters:
warning- a warning, but nothing critical for the handlere- associated throwable ornull
-
info
Report valuable information for JIRA admin- Parameters:
info- information message (something expected, OK, normal)
-
info
Report valuable information for JIRA admin- Parameters:
info- information message (something expected, OK, normal)e- associated throwable ornull
-