Examine supported features in yanglib
[mdsal.git] / yanglib / mdsal-yanglib-api / src / main / java / org / opendaylight / mdsal / yanglib / api / SchemaContextResolver.java
index ea8af299fd8fda34d49ad9c6f7b48137d7c65588..335f7c9652a8358661860fa716c74859f343991c 100644 (file)
@@ -9,7 +9,9 @@ package org.opendaylight.mdsal.yanglib.api;
 
 import com.google.common.annotations.Beta;
 import java.util.List;
+import java.util.Set;
 import org.eclipse.jdt.annotation.NonNullByDefault;
+import org.opendaylight.yangtools.yang.common.QName;
 import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
 import org.opendaylight.yangtools.yang.parser.api.YangParserException;
 
@@ -27,5 +29,5 @@ import org.opendaylight.yangtools.yang.parser.api.YangParserException;
 public interface SchemaContextResolver {
 
     EffectiveModelContext resolveSchemaContext(List<SourceReference> librarySources,
-            List<SourceReference> requiredSources) throws YangParserException;
+        List<SourceReference> requiredSources, Set<QName> supportedFeatures) throws YangParserException;
 }