MessageBroker

Allows the framework to raise messages, wrnings and errors, to bring to the end-user’s attention.

API

MessageBroker.java
interface MessageBroker {
  void reset()
  Can<String> drainMessages()
  void addMessage(String message)
  Can<String> drainWarnings()
  void addWarning(String warning)
  Optional<String> drainApplicationError()
  void setApplicationError(String applicationError)
}