@Unstable public class NotificationPreference extends Object
Constructor and Description |
---|
NotificationPreference(String eventType,
String applicationId,
boolean isNotificationEnabled)
Construct a NotificationPreference.
|
NotificationPreference(String eventType,
String applicationId,
boolean isNotificationEnabled,
NotificationFormat format)
Construct a NotificationPreference.
|
Modifier and Type | Method and Description |
---|---|
String |
getApplicationId() |
String |
getEventType() |
NotificationFormat |
getFormat() |
boolean |
isNotificationEnabled() |
public NotificationPreference(String eventType, String applicationId, boolean isNotificationEnabled)
eventType
- type of an eventapplicationId
- id of an applicationisNotificationEnabled
- either or not the notification is enabled for the event type or the applicationpublic NotificationPreference(String eventType, String applicationId, boolean isNotificationEnabled, NotificationFormat format)
eventType
- type of an eventapplicationId
- id of an applicationisNotificationEnabled
- either or not the notification is enabled for the event type or the applicationformat
- format of the notificationpublic String getEventType()
public String getApplicationId()
public boolean isNotificationEnabled()
public NotificationFormat getFormat()
Copyright © 2004–2017 XWiki. All rights reserved.