Package org.nuxeo.runtime
Interface RuntimeMessageHandler
- All Known Implementing Classes:
RuntimeMessageHandlerImpl
public interface RuntimeMessageHandler
Handles runtime message.
- Since:
- 9.10
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
addMessage
(RuntimeMessage message) Adds the following message.void
addWarning
(String message) Deprecated.since 11.3, useaddMessage(RuntimeMessage)
instead.Deprecated.since 11.3, usegetMessages(Level)
insteadgetMessages
(Predicate<RuntimeMessage> predicate) Returns all messages strings, filtered by given predicate.getMessages
(RuntimeMessage.Level level) Returns all messages strings, filtered by given level.getRuntimeMessages
(Predicate<RuntimeMessage> predicate) Returns all messages, filtered by given predicate.Returns all messages, filtered by given level.Deprecated.since 11.3, usegetMessages(Level)
instead
-
Method Details
-
addMessage
Adds the following message.- Since:
- 11.3
-
getMessages
Returns all messages strings, filtered by given level.- Since:
- 11.3
-
getMessages
Returns all messages strings, filtered by given predicate.- Since:
- 11.3
-
getRuntimeMessages
Returns all messages, filtered by given level.- Since:
- 11.3
-
getRuntimeMessages
Returns all messages, filtered by given predicate.- Since:
- 11.3
-
addWarning
Deprecated.since 11.3, useaddMessage(RuntimeMessage)
instead.Warning messages don't block server startup. -
getWarnings
Deprecated.since 11.3, usegetMessages(Level)
instead- Returns:
- an unmodifiable
List
of warning messages
-
addError
Deprecated.since 11.3, useaddMessage(RuntimeMessage)
instead.Add new error.Error messages block server startup in strict mode.
-
getErrors
Deprecated.since 11.3, usegetMessages(Level)
instead- Returns:
- an unmodifiable
List
of error messages
-
addMessage(RuntimeMessage)
instead.