Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getChildren (0.09 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

            assertEquals("m", node.getPrefix());
            assertEquals("configuration", node.getName());
            assertEquals(1, node.getChildren().size());
            XmlNode myConfig = node.getChildren().get(0);
            assertEquals("http://fabric8.io/fabric8-maven-plugin", myConfig.getNamespaceUri());
            assertEquals("", myConfig.getPrefix());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

            return parent;
        }
    
        public void setParent(MetadataTreeNode parent) {
            this.parent = parent;
        }
    
        public MetadataTreeNode[] getChildren() {
            return children;
        }
    
        public void setChildren(MetadataTreeNode[] children) {
            this.children = children;
        }
        // ------------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

                throws PlexusConfigurationException {
            List<MojoDescriptor> mojos = new ArrayList<>();
    
            PlexusConfiguration[] mojoConfigurations = c.getChild("mojos").getChildren("mojo");
    
            for (PlexusConfiguration component : mojoConfigurations) {
                mojos.add(buildComponentDescriptor(component, pluginDescriptor));
            }
            return mojos;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java

            return exception;
        }
    
        public String getMessage() {
            return message;
        }
    
        public String getReference() {
            return reference;
        }
    
        public List<ExceptionSummary> getChildren() {
            return children;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

                addEdge(parentVertex, vertex, e);
            } else {
                entry = vertex;
            }
    
            MetadataTreeNode[] kids = node.getChildren();
            if (kids == null || kids.length < 1) {
                return;
            }
    
            for (int i = 0; i < kids.length; i++) {
                MetadataTreeNode n = kids[i];
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

            Vertex(String label) {
                this.label = label;
            }
    
            String getLabel() {
                return label;
            }
    
            List<Vertex> getChildren() {
                return children;
            }
    
            List<Vertex> getParents() {
                return parents;
            }
        }
    
        static class CycleDetectedException extends RuntimeException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                if (server.getConfiguration() != null) {
                    XmlNode dom = server.getDelegate().getConfiguration();
                    List<XmlNode> children = dom.getChildren().stream()
                            .filter(c -> !"wagonProvider".equals(c.getName()))
                            .collect(Collectors.toList());
                    dom = new XmlNodeImpl(dom.getName(), null, null, children, null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            collectRequest.addRepository(newTestRepository());
    
            CollectResult collectResult = system.collectDependencies(session, collectRequest);
    
            List<DependencyNode> nodes = collectResult.getRoot().getChildren();
            assertEquals(2, nodes.size());
            checkUtSimpleArtifactDependencies(
                    nodes.get(0).getDependency(), nodes.get(1).getDependency());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

            XmlNode toXml(PlexusConfiguration config, ExpressionEvaluator evaluator) throws ExpressionEvaluationException {
                List<XmlNode> children = new ArrayList<>();
                for (PlexusConfiguration c : config.getChildren()) {
                    children.add(toXml(c, evaluator));
                }
                String name = config.getName();
                Object value = evaluator.evaluate(config.getValue());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    artifact.setDependencyTrail(nodeTrail);
                    artifacts.add(artifact);
                }
    
                toArtifacts(artifacts, node.getChildren(), nodeTrail, filter);
            }
        }
    
        public static Artifact toArtifact(org.apache.maven.artifact.Artifact artifact) {
            if (artifact == null) {
                return null;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top