Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getChildCount (0.54 sec)

  1. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java

                assertEquals("lib/tools.jar", config0.getChild("toolsJar").getValue());
                assertEquals(2, config0.getChildCount());
                Xpp3Dom config1 = (Xpp3Dom) jdks.getToolchains().get(1).getConfiguration();
                assertEquals(2, config1.getChildCount());
                assertEquals("lib/classes.jar", config1.getChild("toolsJar").getValue());
                assertEquals(2, jdksExtend.getToolchains().size());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                    } else {
                        result = evaluator.evaluate(value);
                    }
                }
                if (null == result && configuration.getChildCount() == 0) {
                    value = configuration.getAttribute("default-value");
                    if (null != value && !value.isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java

            if (config == null) {
                return false;
            }
    
            // there are sub items ... so configuration is declared
            if (config.getChildCount() > 0) {
                return true;
            }
    
            String strValue = config.getValue();
    
            if (strValue == null || strValue.isEmpty()) {
                return false;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

        }
    
        private void checkUnknownMojoConfigurationParameters(MojoExecution mojoExecution) {
            if (mojoExecution.getConfiguration() == null
                    || mojoExecution.getConfiguration().getChildCount() == 0) {
                return;
            }
    
            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
            // in first step get parameter names of current goal
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals(1, md.getRequirements().size());
            assertEquals(1, md.getParameters().size());
    
            assertNotNull(md.getMojoConfiguration());
            assertEquals(1, md.getMojoConfiguration().getChildCount());
    
            PlexusConfiguration pc = md.getMojoConfiguration().getChild(0);
    
            assertEquals("${jar.finalName}", pc.getValue());
            assertEquals("${project.build.finalName}", pc.getAttribute("default-value"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

            }
    
            Object value = defaultValue;
            TypeLiteral<?> paramType = TypeLiteral.get(setterInfo.parameterType);
    
            if (!paramType.getRawType().isInstance(value)) {
                if (configuration.getChildCount() > 0) {
                    throw new ComponentConfigurationException(
                            "Basic element '" + configuration.getName() + "' must not contain child elements");
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 12 14:59:46 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

                    .getConfigProperties()
                    .get("aether.transport.wagon.config.repository");
            assertNotNull(plexusConfiguration);
            assertEquals(0, plexusConfiguration.getChildCount());
        }
    
        @Test
        void httpConfigurationWithHttpHeadersTest() throws InvalidRepositoryException {
            Server server = new Server();
            server.setId("repository");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                        if (org != val) {
                            dom.setAttribute(attr, val);
                        }
                    }
                    // Children
                    for (int i = 0, l = dom.getChildCount(); i < l; i++) {
                        visit(dom.getChild(i));
                    }
                }
            }
    
            private void visit(Extension extension) {
                if (extension != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                        throw new ComponentConfigurationException(configuration, msg, e);
                    }
                }
    
                if (value == null && (config == null || config.getChildCount() <= 0)) {
                    invalidParameters.add(parameter);
                }
            }
    
            if (!invalidParameters.isEmpty()) {
                throw new PluginParameterException(mojoDescriptor, invalidParameters);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    String getAttribute(String); public void setAttribute(String, String); public Xpp3Dom getChild(int); public Xpp3Dom getChild(String); public void addChild(Xpp3Dom); public Xpp3Dom[] getChildren(); public Xpp3Dom[] getChildren(String); public int getChildCount(); public void removeChild(int); public Xpp3Dom getParent(); public void setParent(Xpp3Dom); public void writeToSerializer(String, pull.XmlSerializer) throws java.io.IOException; private static void mergeIntoXpp3Dom(Xpp3Dom, Xpp3Dom, Boolean);...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 164.6K bytes
    - Viewed (0)
Back to top