Interface FailureCollector
- All Known Subinterfaces:
ContextualFailureCollector
- All Known Implementing Classes:
RootFailureCollector
public interface FailureCollector
A failure collector without any context.
Allows to create a ContextualFailureCollector
.
Failure collectors allow to register (non-fatal) failures occurring during bootstrap in particular, so as to remember that a failure occurred and the process should be aborted at some point, while still continuing the process for some time to collect other errors that could be relevant to users.
Implementations are thread-safe.
-
Method Summary
Modifier and TypeMethodDescriptionwithContext
(EventContext context) withContext
(EventContextElement contextElement)
-
Method Details
-
withContext
-
withContext
-