Interface NotificationSupplierForItem<O extends org.opendaylight.yangtools.yang.binding.DataObject,C extends org.opendaylight.yangtools.yang.binding.Notification,U extends org.opendaylight.yangtools.yang.binding.Notification,D extends org.opendaylight.yangtools.yang.binding.Notification>
-
- Type Parameters:
O- - data tree item ObjectC- - Create notificationU- - Update notificationD- - Delete notification
- All Superinterfaces:
AutoCloseable,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<O>,EventListener,NotificationSupplierDefinition<O>
- All Known Implementing Classes:
AbstractNotificationSupplierForItem,FlowNotificationSupplierImpl,GroupNotificationSupplierImpl,MeterNotificationSupplierImpl
public interface NotificationSupplierForItem<O extends org.opendaylight.yangtools.yang.binding.DataObject,C extends org.opendaylight.yangtools.yang.binding.Notification,U extends org.opendaylight.yangtools.yang.binding.Notification,D extends org.opendaylight.yangtools.yang.binding.Notification> extends NotificationSupplierDefinition<O>
Supplier Item contracts definition for every Notification. All items are described by three notifications. Notification for Create, Update and Delete. So interface has to contain three methods for every Notification.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CcreateNotification(O dataTreeItemObject, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> path)Method produces relevant addItem kind ofNotificationfrom data tree item identified byInstanceIdentifierpath.DdeleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> path)Method produces relevant deleteItem kind ofNotificationfrom pathInstanceIdentifierto deleted item.UupdateNotification(O dataTreeItemObject, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> path)Method produces relevant updateItem kind ofNotificationfrom data tree item identified byInstanceIdentifierpath.-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onDataTreeChanged, onInitialData
-
Methods inherited from interface org.opendaylight.openflowplugin.applications.notification.supplier.NotificationSupplierDefinition
getWildCardPath
-
-
-
-
Method Detail
-
createNotification
C createNotification(O dataTreeItemObject, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> path)
Method produces relevant addItem kind ofNotificationfrom data tree item identified byInstanceIdentifierpath.- Parameters:
dataTreeItemObject- - Data Tree Item objectpath- - Identifier of Data Tree Item- Returns:
Notification- relevant API contract Notification
-
updateNotification
U updateNotification(O dataTreeItemObject, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> path)
Method produces relevant updateItem kind ofNotificationfrom data tree item identified byInstanceIdentifierpath.- Parameters:
dataTreeItemObject- - Data Tree Item objectpath- - Identifier of Data Tree Item- Returns:
Notification- relevant API contract Notification
-
deleteNotification
D deleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> path)
Method produces relevant deleteItem kind ofNotificationfrom pathInstanceIdentifierto deleted item.- Parameters:
path- - Identifier of Data Tree Item- Returns:
Notification- relevant API contract Notification
-
-