Package de.xima.fc.notification.mgmt
Class NotificationSubscription
- java.lang.Object
-
- de.xima.fc.notification.mgmt.NotificationSubscription
-
- All Implemented Interfaces:
Serializable
public class NotificationSubscription extends Object implements Serializable
Model class representing a notification subscription for a specific event type.- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotificationSubscription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotificationSubscription.Builderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)NotificationAssigneegetAssignee()The assignee of the subscription.NotificationTypegetEventType()The type of event for which the subscription is made.Set<NotificationTarget>getTargets()The set of notification targets associated with this subscription.inthashCode()voidsetTargets(Set<NotificationTarget> targets)The set of notification targets associated with this subscription.StringtoString()
-
-
-
Method Detail
-
builder
public static NotificationSubscription.Builder builder()
-
getAssignee
public NotificationAssignee getAssignee()
The assignee of the subscription.
-
getEventType
public NotificationType getEventType()
The type of event for which the subscription is made.
-
getTargets
public Set<NotificationTarget> getTargets()
The set of notification targets associated with this subscription.
-
setTargets
public void setTargets(Set<NotificationTarget> targets)
The set of notification targets associated with this subscription.
-
canEqual
protected boolean canEqual(Object other)
-
-