public class DefaultSystemMessagesProvider extends Object implements SystemMessagesProvider
get().| Modifier and Type | Method and Description |
|---|---|
static SystemMessagesProvider |
get()
Gets the instance.
|
SystemMessages |
getSystemMessages(SystemMessagesInfo systemMessagesInfo)
Gets the system messages to use in the given context.
|
public SystemMessages getSystemMessages(SystemMessagesInfo systemMessagesInfo)
SystemMessagesProviderSystemMessagesInfo object contains available information but in
most cases some or both of VaadinSession.getCurrent() and
UI.getCurrent() can also be used to find more information to help
the decision.getSystemMessages in interface SystemMessagesProvidersystemMessagesInfo - Locale, current request and other information available.public static SystemMessagesProvider get()
Copyright © 2020. All rights reserved.