X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fdom%2Fapi%2FDOMNotification.java;h=737f2a56cc28c3f20e4d1910d9431a2405917c92;hp=d99001ea5c9b44be38d6237f39ad5f507df955e7;hb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0;hpb=81b58527159d1ae07e7042372ca78b7dc769a7c7 diff --git a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMNotification.java b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMNotification.java index d99001ea5c..737f2a56cc 100644 --- a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMNotification.java +++ b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMNotification.java @@ -7,25 +7,13 @@ */ package org.opendaylight.controller.md.sal.dom.api; -import javax.annotation.Nonnull; -import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode; -import org.opendaylight.yangtools.yang.model.api.SchemaPath; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; /** * A single YANG notification. + * @deprecated Use {@link org.opendaylight.mdsal.dom.api.DOMNotification} instead. */ -public interface DOMNotification { - /** - * Return the type of this notification. - * - * @return Notification type. - */ - @Nonnull SchemaPath getType(); - - /** - * Return the body of this notification. - * - * @return Notification body. - */ - @Nonnull ContainerNode getBody(); +@Deprecated(forRemoval = true) +@SuppressFBWarnings(value = "NM_SAME_SIMPLE_NAME_AS_INTERFACE", justification = "Migration") +public interface DOMNotification extends org.opendaylight.mdsal.dom.api.DOMNotification { }