test_class.declarator: cndAUrl
test_class.modifier: private
test_class.original_string: private URL cndAUrl;
test_class.type: URL
test_class.var_name: cndAUrl
test_class.declarator: cndBUrl
test_class.modifier: private
test_class.original_string: private URL cndBUrl;
test_class.type: URL
test_class.var_name: cndBUrl
test_class.declarator: cndCUrl
test_class.modifier: private
test_class.original_string: private URL cndCUrl;
test_class.type: URL
test_class.var_name: cndCUrl
test_class.declarator: cndDUrl
test_class.modifier: private
test_class.original_string: private URL cndDUrl;
test_class.type: URL
test_class.var_name: cndDUrl
test_class.declarator: cndEUrl
test_class.modifier: private
test_class.original_string: private URL cndEUrl;
test_class.type: URL
test_class.var_name: cndEUrl
test_class.declarator: cndFUrl
test_class.modifier: private
test_class.original_string: private URL cndFUrl;
test_class.type: URL
test_class.var_name: cndFUrl
test_class.declarator: cndYUrl
test_class.modifier: private
test_class.original_string: private URL cndYUrl;
test_class.type: URL
test_class.var_name: cndYUrl
test_class.declarator: cndZUrl
test_class.modifier: private
test_class.original_string: private URL cndZUrl;
test_class.type: URL
test_class.var_name: cndZUrl
test_class.file: core/src/test/java/net/adamcin/oakpal/core/CNDURLInstallerTest.java
test_class.identifier: CNDURLInstallerTest
test_case.body: @Test
      public void testRegister() throws Exception {
          final DefaultErrorListener errorListener = new DefaultErrorListener();
          final CNDURLInstaller installer = new CNDURLInstaller(errorListener,
                  Arrays.asList(cndFUrl, cndEUrl, cndDUrl, cndCUrl, cndBUrl, cndAUrl),
                  Arrays.asList(cndYUrl, cndZUrl));
  
          new OakMachine.Builder().build().adminInitAndInspect(session -> {
              installer.register(session);
              NodeTypeManager ntManager = session.getWorkspace().getNodeTypeManager();
              assertTrue("has a:primaryType", ntManager.hasNodeType("a:primaryType"));
              assertTrue("has b:primaryType", ntManager.hasNodeType("b:primaryType"));
              assertTrue("has c:primaryType", ntManager.hasNodeType("c:primaryType"));
              assertTrue("has d:primaryType", ntManager.hasNodeType("d:primaryType"));
              assertTrue("has e:primaryType", ntManager.hasNodeType("e:primaryType"));
              assertFalse("does not have f:primaryType", ntManager.hasNodeType("f:primaryType"));
              assertFalse("does not have y:primaryType", ntManager.hasNodeType("y:primaryType"));
              assertTrue("has z:primaryType", ntManager.hasNodeType("z:primaryType"));
          });
          assertEquals("f and y should report errors: " + errorListener.getReportedViolations(), 2,
                  errorListener.getReportedViolations().size());
      }
test_case.class_method_signature: CNDURLInstallerTest.testRegister()
test_case.full_signature: @Test public void testRegister()
test_case.identifier: testRegister
test_case.invocations: asList asList adminInitAndInspect build register getNodeTypeManager getWorkspace assertTrue hasNodeType assertTrue hasNodeType assertTrue hasNodeType assertTrue hasNodeType assertTrue hasNodeType assertFalse hasNodeType assertFalse hasNodeType assertTrue hasNodeType assertEquals getReportedViolations size getReportedViolations
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRegister()
focal_class.declarator: MAX_ITERATIONS = 5
focal_class.modifier: private static final
focal_class.original_string: private static final int MAX_ITERATIONS = 5;
focal_class.type: int
focal_class.var_name: MAX_ITERATIONS
focal_class.declarator: unorderedCnds
focal_class.modifier: private final
focal_class.original_string: private final List<URL> unorderedCnds;
focal_class.type: List<URL>
focal_class.var_name: unorderedCnds
focal_class.declarator: postInstallCnds
focal_class.modifier: private final
focal_class.original_string: private final List<URL> postInstallCnds;
focal_class.type: List<URL>
focal_class.var_name: postInstallCnds
focal_class.declarator: errorListener
focal_class.modifier: private final
focal_class.original_string: private final ErrorListener errorListener;
focal_class.type: ErrorListener
focal_class.var_name: errorListener
focal_class.file: core/src/main/java/net/adamcin/oakpal/core/CNDURLInstaller.java
focal_class.identifier: CNDURLInstaller
focal_class.class_method_signature: CNDURLInstaller.CNDURLInstaller(final @Nullable ErrorListener errorListener,
                      final @NotNull List<URL> unorderedCnds,
                      final @Nullable List<URL> postInstallCnds)
focal_class.full_signature:   CNDURLInstaller(final @Nullable ErrorListener errorListener,
                      final @NotNull List<URL> unorderedCnds,
                      final @Nullable List<URL> postInstallCnds)
focal_class.identifier: CNDURLInstaller
focal_class.parameters: (final @Nullable ErrorListener errorListener,
                      final @NotNull List<URL> unorderedCnds,
                      final @Nullable List<URL> postInstallCnds)
focal_class.signature:  CNDURLInstaller(final @Nullable ErrorListener errorListener,
                      final @NotNull List<URL> unorderedCnds,
                      final @Nullable List<URL> postInstallCnds)
focal_class.class_method_signature: CNDURLInstaller.register(Session session)
focal_class.full_signature: public void register(Session session)
focal_class.identifier: register
focal_class.modifiers: public
focal_class.parameters: (Session session)
focal_class.return: void
focal_class.signature: void register(Session session)
focal_class.class_method_signature: CNDURLInstaller.register(Session session, List<URL> nodeTypeResources)
focal_class.full_signature: public void register(Session session, List<URL> nodeTypeResources)
focal_class.identifier: register
focal_class.modifiers: public
focal_class.parameters: (Session session, List<URL> nodeTypeResources)
focal_class.return: void
focal_class.signature: void register(Session session, List<URL> nodeTypeResources)
focal_class.class_method_signature: CNDURLInstaller.registerByUrl(Session session, List<URL> nodeTypeUrls)
focal_class.full_signature: public void registerByUrl(Session session, List<URL> nodeTypeUrls)
focal_class.identifier: registerByUrl
focal_class.modifiers: public
focal_class.parameters: (Session session, List<URL> nodeTypeUrls)
focal_class.return: void
focal_class.signature: void registerByUrl(Session session, List<URL> nodeTypeUrls)
focal_class.class_method_signature: CNDURLInstaller.registerNodeTypesByUrl(Session session, List<URL> nodeTypeUrls)
focal_class.full_signature: private void registerNodeTypesByUrl(Session session, List<URL> nodeTypeUrls)
focal_class.identifier: registerNodeTypesByUrl
focal_class.modifiers: private
focal_class.parameters: (Session session, List<URL> nodeTypeUrls)
focal_class.return: void
focal_class.signature: void registerNodeTypesByUrl(Session session, List<URL> nodeTypeUrls)
focal_class.class_method_signature: CNDURLInstaller.registerNodeTypes(Session session, List<URL> nodeTypeResources)
focal_class.full_signature: private void registerNodeTypes(Session session, List<URL> nodeTypeResources)
focal_class.identifier: registerNodeTypes
focal_class.modifiers: private
focal_class.parameters: (Session session, List<URL> nodeTypeResources)
focal_class.return: void
focal_class.signature: void registerNodeTypes(Session session, List<URL> nodeTypeResources)
focal_class.class_method_signature: CNDURLInstaller.tryRegisterNodeTypes(final List<URL> nodeTypeResources,
                                        final NodeTypeManager nodeTypeManager,
                                        final NamespaceRegistry namespaceRegistry,
                                        final ValueFactory valueFactory,
                                        final boolean logErrors)
focal_class.full_signature: private void tryRegisterNodeTypes(final List<URL> nodeTypeResources,
                                        final NodeTypeManager nodeTypeManager,
                                        final NamespaceRegistry namespaceRegistry,
                                        final ValueFactory valueFactory,
                                        final boolean logErrors)
focal_class.identifier: tryRegisterNodeTypes
focal_class.modifiers: private
focal_class.parameters: (final List<URL> nodeTypeResources,
                                        final NodeTypeManager nodeTypeManager,
                                        final NamespaceRegistry namespaceRegistry,
                                        final ValueFactory valueFactory,
                                        final boolean logErrors)
focal_class.return: void
focal_class.signature: void tryRegisterNodeTypes(final List<URL> nodeTypeResources,
                                        final NodeTypeManager nodeTypeManager,
                                        final NamespaceRegistry namespaceRegistry,
                                        final ValueFactory valueFactory,
                                        final boolean logErrors)
focal_class.class_method_signature: CNDURLInstaller.registerNodeTypesFromUrl(final URL namedResource,
                                            final NodeTypeManager nodeTypeManager,
                                            final NamespaceRegistry namespaceRegistry,
                                            final ValueFactory valueFactory)
focal_class.full_signature: private void registerNodeTypesFromUrl(final URL namedResource,
                                            final NodeTypeManager nodeTypeManager,
                                            final NamespaceRegistry namespaceRegistry,
                                            final ValueFactory valueFactory)
focal_class.identifier: registerNodeTypesFromUrl
focal_class.modifiers: private
focal_class.parameters: (final URL namedResource,
                                            final NodeTypeManager nodeTypeManager,
                                            final NamespaceRegistry namespaceRegistry,
                                            final ValueFactory valueFactory)
focal_class.return: void
focal_class.signature: void registerNodeTypesFromUrl(final URL namedResource,
                                            final NodeTypeManager nodeTypeManager,
                                            final NamespaceRegistry namespaceRegistry,
                                            final ValueFactory valueFactory)
focal_method.body: public void register(Session session) throws RepositoryException {
          register(session, unorderedCnds);
          registerByUrl(session, postInstallCnds);
      }
focal_method.class_method_signature: CNDURLInstaller.register(Session session)
focal_method.full_signature: public void register(Session session)
focal_method.identifier: register
focal_method.invocations: register registerByUrl
focal_method.modifiers: public
focal_method.parameters: (Session session)
focal_method.return: void
focal_method.signature: void register(Session session)