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 classNotificationImpl.DefaultNotificationFactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Notificationcreate(com.google.cloud.storage.Storage storage)NotificationInfocreateNotification(String bucket, NotificationInfo notification)booleandeleteNotification(String bucket, String notification)List<NotificationInfo>listNotifications(String bucket)
-
-
-
Method Detail
-
create
public Notification create(com.google.cloud.storage.Storage storage)
- Specified by:
createin interfaceNotification
-
deleteNotification
public boolean deleteNotification(String bucket, String notification)
- Specified by:
deleteNotificationin interfaceNotification
-
listNotifications
public List<NotificationInfo> listNotifications(String bucket)
- Specified by:
listNotificationsin interfaceNotification
-
createNotification
public NotificationInfo createNotification(String bucket, NotificationInfo notification)
- Specified by:
createNotificationin interfaceNotification
-
-