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)
SystemMessagesProvider
SystemMessagesInfo
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 SystemMessagesProvider
systemMessagesInfo
- Locale, current request and other information available.public static SystemMessagesProvider get()
Copyright © 2023. All rights reserved.