Package alpine.notification
Class Notification
java.lang.Object
alpine.notification.Notification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddispatch(Notification notification) Convenience method provides a shorthand forNotificationService.getInstance().publish().getGroup()getLevel()getScope()getTitle()level(NotificationLevel level) voidsetContent(String content) voidvoidsetLevel(NotificationLevel level) voidvoidsetSubject(Object subject) voidsetTimestamp(LocalDateTime timestamp) voidtimestamp(LocalDateTime timestamp)
-
Constructor Details
-
Notification
public Notification()
-
-
Method Details
-
dispatch
Convenience method provides a shorthand forNotificationService.getInstance().publish().- Parameters:
notification- the Notification to dispatch- Since:
- 1.3.0
-
scope
-
scope
-
group
-
group
-
level
-
title
-
title
-
content
-
content
-
timestamp
-
subject
-
getScope
-
setScope
-
getGroup
-
setGroup
-
getLevel
-
setLevel
-
getTitle
-
setTitle
-
getContent
-
setContent
-
getTimestamp
-
setTimestamp
-
getSubject
-
setSubject
-