import java.io.File;
import java.io.IOException;
import java.util.Collection;
+import java.util.Set;
+import org.opendaylight.controller.yang.model.api.Module;
import org.opendaylight.controller.yang.model.api.SchemaContext;
/**
* @param outputBaseDir
* expected output directory for generated sources configured by
* user
+ * @param yangModules
+ * yang modules parsed from yangFilesRootDir
* @return collection of files that were generated from schema context
+ * @throws IOException
*/
- Collection<File> generateSources(SchemaContext context, File outputBaseDir) throws IOException;
+ Collection<File> generateSources(SchemaContext context, File outputBaseDir,
+ Set<Module> yangModules) throws IOException;
}