Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for setChildren (0.07 sec)

  1. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

            Node node = Mockito.mock(Node.class);
            Mockito.when(resolverResult.getRoot()).thenReturn(node);
            Node child = Mockito.mock(Node.class);
            Mockito.when(node.getChildren()).thenReturn(List.of(child));
    
            services.addAll(List.of(
                    new DefaultRequestCacheFactory(),
                    new DefaultArtifactCoordinatesFactory(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

            }
        }
    
        private Set<String> getUnknownParameters(MojoExecution mojoExecution, Set<String> parameters) {
            return stream(mojoExecution.getConfiguration().getChildren())
                    .map(Xpp3Dom::getName)
                    .filter(name -> !parameters.contains(name))
                    .collect(Collectors.toSet());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

            }
    
            @Override
            public ProblemCollector<ModelProblem> getProblemCollector() {
                return null;
            }
    
            @Override
            public List<? extends ModelBuilderResult> getChildren() {
                return List.of();
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            PlexusConfiguration c = mojoDescriptor.getMojoConfiguration();
    
            List<XmlNode> children = new ArrayList<>();
            PlexusConfiguration[] ces = c.getChildren();
            if (ces != null) {
                for (PlexusConfiguration ce : ces) {
                    String value = ce.getValue(null);
                    String defaultValue = ce.getAttribute("default-value", null);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            if (entry == null || !entry.isComplete()) {
                return null;
            }
    
            List<SmbFile> files = new ArrayList<>();
            for (DirectoryCacheEntry.FileInfo fileInfo : entry.getChildren()) {
                try {
                    // Create SmbFile objects from cached info
                    SmbFile file = createSmbFileFromCache(directoryPath, fileInfo);
                    files.add(file);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            } finally {
                lock.writeLock().unlock();
            }
        }
    
        /**
         * Get all children
         *
         * @return list of child file info
         */
        public List<FileInfo> getChildren() {
            lock.readLock().lock();
            try {
                lastAccessTime = System.currentTimeMillis();
                return new ArrayList<>(children.values());
            } finally {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 04 18:33:16 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                    PlexusConfiguration httpHeaders = config.getChild("httpHeaders", false);
                    if (httpHeaders != null) {
                        PlexusConfiguration[] properties = httpHeaders.getChildren("property");
                        if (properties != null && properties.length > 0) {
                            headers = new HashMap<>();
                            for (PlexusConfiguration property : properties) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 05:56:35 UTC 2025
    - 25.8K bytes
    - Viewed (0)
Back to top