Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for getChildCount (0.17 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-xml-impl/src/test/java/org/apache/maven/internal/xml/XmlNodeImplTest.java

            Xpp3Dom result = Xpp3Dom.mergeXpp3Dom(dominantConfig, recessiveConfig);
            Xpp3Dom items = result.getChild("items");
    
            assertEquals(3, items.getChildCount());
    
            assertNull(items.getChild(0).getValue());
            assertEquals("test", items.getChild(1).getValue());
            assertNull(items.getChild(2).getValue());
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Mar 27 14:46:12 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeImpl.java

                    }
                }
            }
            return null;
        }
    
        public List<XmlNode> getChildren() {
            return children;
        }
    
        public int getChildCount() {
            return children.size();
        }
    
        // ----------------------------------------------------------------------
        // Input location handling
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 18K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar

    public abstract PlexusConfiguration getChild(String, boolean); public abstract PlexusConfiguration[] getChildren(); public abstract PlexusConfiguration[] getChildren(String); public abstract void addChild(PlexusConfiguration); public abstract int getChildCount(); } org/codehaus/plexus/configuration/PlexusConfigurationE.class package org.codehaus.plexus.configuration; public synchronized class PlexusConfigurationE extends Exception { private static final long serialVersionUID = 7559886640184983689; public...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 32.4K bytes
    - Viewed (0)
Back to top