public interface NotificationFactory
Modifier and Type | Method and Description |
---|---|
Notification |
createAndPersist(String soundUrl,
String buildDetails)
Creates a
Notification and makes it instantly available in the NotificationRepository . |
Notification createAndPersist(String soundUrl, String buildDetails)
Notification
and makes it instantly available in the NotificationRepository
.soundUrl
- URL of a sound that should be playedbuildDetails
- details about the build that caused the notification, used for loggingIllegalArgumentException
- if soundUrl
is null
Copyright © 2004-2011. All Rights Reserved.