X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fdata%2FDataReader.java;h=18ae7d348b74a9470e767c4d55acede2dbdef6e0;hb=0f69f9e83ca8602d7ad7646ff4e146f802c534c1;hp=14731d688c964adaf264d8909a4c3e90ccc4484e;hpb=e46810aeeee9fc55ef7fc3aa05e83a9ed3cf790f;p=controller.git diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/DataReader.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/DataReader.java index 14731d688c..18ae7d348b 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/DataReader.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/DataReader.java @@ -12,19 +12,22 @@ import org.opendaylight.yangtools.concepts.Path; /** * Reader for reading YANG subtrees based on their path. * + *
* Reader is requested to return object at specified path and all it's subnodes * known to the reader or null if node is not found in this reader. * * @param
Path Type
* @param ,D> {
+@Deprecated
+public interface DataReader , D> {
/**
- * Reads data from Operational data store located at provided path
+ * Reads data from Operational data store located at provided path.
*
* @param path Path to data
- * @return
+ * @return the data
*/
D readOperationalData(P path);