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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContextualFailureCollector
withContext(EventContext context)
ContextualFailureCollector
withContext(EventContextElement contextElement)
-
-
-
Method Detail
-
withContext
ContextualFailureCollector withContext(EventContext context)
-
withContext
ContextualFailureCollector withContext(EventContextElement contextElement)
-
-