Seal PathArgumentList
[yangtools.git] / parser / yang-parser-reactor / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / reactor / CrossSourceStatementReactor.java
index c1f969e6be8ca89c4b7ac8bde1968fbdaf24c02a..3ab4141327097fab15ab22901aef8ff30f43832b 100644 (file)
@@ -25,7 +25,7 @@ import org.opendaylight.yangtools.yang.parser.spi.meta.ModelProcessingPhase;
 import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
 import org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupportBundle;
 import org.opendaylight.yangtools.yang.parser.spi.source.StatementStreamSource;
-import org.opendaylight.yangtools.yang.parser.spi.validation.ValidationBundlesNamespace.ValidationBundleType;
+import org.opendaylight.yangtools.yang.parser.spi.validation.ValidationBundles.ValidationBundleType;
 
 public final class CrossSourceStatementReactor {
     private final ImmutableMap<ModelProcessingPhase, StatementSupportBundle> supportedTerminology;
@@ -82,8 +82,9 @@ public final class CrossSourceStatementReactor {
         }
     }
 
-    public static class BuildAction {
+    public static final class BuildAction {
         private final BuildGlobalContext context;
+
         private boolean supportedFeaturesSet = false;
         private boolean modulesDeviatedByModulesSet = false;
 
@@ -214,12 +215,19 @@ public final class CrossSourceStatementReactor {
         }
 
         /**
-         * Build the effective model context.
+         * Build the {@link ReactorDeclaredModel} view of this action.
+         *
+         * @return A declared view of selected models.
          */
         public ReactorDeclaredModel build() throws ReactorException {
             return context.build();
         }
 
+        /**
+         * Build the {@link EffectiveSchemaContext} view of this action.
+         *
+         * @return An effective view of selected models.
+         */
         public EffectiveSchemaContext buildEffective() throws ReactorException {
             return context.buildEffective();
         }