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);
}