public interface FailureCollector
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.
Modifier and Type | Method and Description |
---|---|
ContextualFailureCollector |
withContext(EventContext context) |
ContextualFailureCollector |
withContext(EventContextElement contextElement) |
ContextualFailureCollector withContext(EventContext context)
ContextualFailureCollector withContext(EventContextElement contextElement)
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.