Merge "Statistics Northbound Test"
[controller.git] / opendaylight / sal / yang-prototype / code-generator / maven-yang / src / main / java / org / opendaylight / controller / yang2sources / spi / CodeGenerator.java
index f90c7ef7e404afd93aaa3d39e90b3e87812f35fd..14bcccccaff0f9ad54393322bc372251d7cd344e 100644 (file)
@@ -10,7 +10,9 @@ package org.opendaylight.controller.yang2sources.spi;
 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;
 
 /**
@@ -27,7 +29,11 @@ public interface CodeGenerator {
      * @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;
 }