X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Fapi%2FDataTreeChangeListener.java;h=93ab968451be9882e91379c867ae11a13dc111ad;hb=84df280755136f2d24420f6bf591437a68510f2c;hp=6b1df719ac672f12c24bbe167b9094772ed9c4a9;hpb=64db87e8fb5de25e68ba824ec2eaa17e3f217c96;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeChangeListener.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeChangeListener.java index 6b1df719ac..93ab968451 100644 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeChangeListener.java +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataTreeChangeListener.java @@ -10,6 +10,7 @@ package org.opendaylight.controller.md.sal.binding.api; import java.util.Collection; import java.util.EventListener; import javax.annotation.Nonnull; +import org.opendaylight.yangtools.yang.binding.DataObject; /** * Interface implemented by classes interested in receiving notifications about @@ -17,7 +18,7 @@ import javax.annotation.Nonnull; * in that it provides a cursor-based view of the change, which has potentially * lower overhead and allow more flexible consumption of change event. */ -public interface DataTreeChangeListener extends EventListener { +public interface DataTreeChangeListener extends EventListener { /** * Invoked when there was data change for the supplied path, which was used * to register this listener. @@ -39,5 +40,5 @@ public interface DataTreeChangeListener extends EventListener { * * @param changes Collection of change events, may not be null or empty. */ - void onDataTreeChanged(@Nonnull Collection changes); + void onDataTreeChanged(@Nonnull Collection> changes); }