Package com.google.cloud.notification
Class NotificationImpl
- java.lang.Object
-
- com.google.cloud.notification.NotificationImpl
-
- All Implemented Interfaces:
Notification
public class NotificationImpl extends Object implements Notification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotificationImpl.DefaultNotificationFactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Notification
create(com.google.cloud.storage.Storage storage)
NotificationInfo
createNotification(String bucket, NotificationInfo notification)
boolean
deleteNotification(String bucket, String notification)
List<NotificationInfo>
listNotifications(String bucket)
-
-
-
Method Detail
-
create
public Notification create(com.google.cloud.storage.Storage storage)
- Specified by:
create
in interfaceNotification
-
deleteNotification
public boolean deleteNotification(String bucket, String notification)
- Specified by:
deleteNotification
in interfaceNotification
-
listNotifications
public List<NotificationInfo> listNotifications(String bucket)
- Specified by:
listNotifications
in interfaceNotification
-
createNotification
public NotificationInfo createNotification(String bucket, NotificationInfo notification)
- Specified by:
createNotification
in interfaceNotification
-
-