Class Notification.Target
java.lang.Object
org.openremote.model.notification.Notification.Target
- Enclosing class:
Notification
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTarget
(Notification.TargetType type, String id) Target
(Notification.TargetType type, String id, String locale) Manual constructor for the Target class -
Method Summary
Modifier and TypeMethodDescriptionaddAllowedLocale
(String locale) addAllowedLocales
(Set<String> allowedLocales) getData()
getId()
getType()
setAllowedLocales
(Set<String> allowedLocales) void
void
toString()
-
Field Details
-
type
-
id
-
locale
-
allowedLocales
-
data
-
-
Constructor Details
-
Target
-
Target
Manual constructor for the Target class- Parameters:
locale
- ISO 639-1 code; for example "nl" or "en"
-
-
Method Details