Ditch NetconfNode from SchemaResourceManager
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / api / SchemaResourceManager.java
index 19048d8f88b8ee4603cd0353d108a1a8b581e13f..87265a0bc1ee086edbfb298cf5dc11519695c020 100644 (file)
@@ -10,11 +10,14 @@ package org.opendaylight.netconf.sal.connect.api;
 import com.google.common.annotations.Beta;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.opendaylight.netconf.sal.connect.netconf.NetconfDevice.SchemaResourcesDTO;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode;
 
 @Beta
 @NonNullByDefault
 public interface SchemaResourceManager {
 
-    SchemaResourcesDTO getSchemaResources(NetconfNode node, Object nodeId);
+    // FIXME: document this, nodeId is not quite appropriate name here: it should be a @NonNull id with .toString()
+    //        being interesting
+    // FIXME: subDirectory should have be really String..., placing the onus of splitting the directory to callers,
+    //        so we do not get separator ambiguity
+    SchemaResourcesDTO getSchemaResources(String subDirectory, Object nodeId);
 }