Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getChildCount (0.16 sec)

  1. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlPlexusConfiguration.java

            for (final String a : getAttributeNames()) {
                buf.append(' ').append(a).append("=\"").append(getAttribute(a)).append('"');
            }
            if (getChildCount() > 0) {
                buf.append('>');
                for (int i = 0, size = getChildCount(); i < size; i++) {
                    buf.append(getChild(i));
                }
                buf.append("</").append(getName()).append('>');
            } else if (null != getValue()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 03 15:52:23 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. 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()) {
                        if (evaluator instanceof TypeAwareExpressionEvaluator) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Nov 17 15:51:47 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top