Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for lookupMap (0.26 sec)

  1. maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

            return Optional.empty();
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/SimpleLookup.java

            return Optional.empty();
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/aether/PropertyContributorExtender.java

        }
    
        @SuppressWarnings({"rawtypes", "unchecked"})
        @Override
        public void extend(MavenExecutionRequest mavenExecutionRequest) {
            Map<String, PropertyContributor> effectivePropertyContributors = lookup.lookupMap(PropertyContributor.class);
            if (!effectivePropertyContributors.isEmpty()) {
                HashMap<String, String> userPropertiesMap = new HashMap<>((Map) mavenExecutionRequest.getUserProperties());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Feb 20 15:38:09 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java

                lifeCycles.put(s, lifecycle);
            }
    
            PlexusContainer mockedContainer = mock(PlexusContainer.class);
            when(mockedContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles);
    
            DefaultLifecycleRegistry reg = new DefaultLifecycleRegistry();
            return new DefaultLifecycles(reg, new DefaultLookup(mockedContainer));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            Map<String, Lifecycle> lifeCycles = myLifecycles.stream().collect(Collectors.toMap(Lifecycle::getId, l -> l));
            PlexusContainer mockedPlexusContainer = mock(PlexusContainer.class);
            when(mockedPlexusContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles);
    
            DefaultLifecycles dl = new DefaultLifecycles(
                    new DefaultLifecycleRegistry(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            return container.lookupList(role);
        }
    
        @Deprecated
        public Map<String, Object> lookupMap(String role) throws ComponentLookupException {
            return container.lookupMap(role);
        }
    
        public Session getSession() {
            return session;
        }
    
        public void setSession(Session session) {
            this.session = session;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            }
    
            @Override
            public Collection<Lifecycle> provides() {
                try {
                    Map<String, org.apache.maven.lifecycle.Lifecycle> all =
                            container.lookupMap(org.apache.maven.lifecycle.Lifecycle.class);
                    return all.keySet().stream()
                            .filter(id -> !Lifecycle.CLEAN.equals(id)
                                    && !Lifecycle.DEFAULT.equals(id)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                public <T> List<T> lookupList(Class<T> type) {
                    return injector.getInstance(new Key<List<T>>() {});
                }
    
                @Override
                public <T> Map<String, T> lookupMap(Class<T> type) {
                    return injector.getInstance(new Key<Map<String, T>>() {});
                }
            };
        }
    
        @Provides
        static ArtifactManager newArtifactManager() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            executionRequestPopulator = container.lookup(MavenExecutionRequestPopulator.class);
    
            modelProcessor = createModelProcessor(container);
    
            configurationProcessors = container.lookupMap(ConfigurationProcessor.class);
    
            toolchainsBuilder = container.lookup(ToolchainsBuilder.class);
    
            dispatcher = (DefaultSecDispatcher) container.lookup(SecDispatcher.class, "maven");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/connections.go

    			for _, c := range wl.Connections.Inbound {
    				fmt.Fprintf(w, "%v\tInbound\t%v\t%v\t%v\n", name, lookupIP(c.ActualDst), lookupIP(c.Src), c.OriginalDst)
    			}
    		}
    		if filter.Direction != "inbound" {
    			for _, c := range wl.Connections.Outbound {
    				fmt.Fprintf(w, "%v\tOutbound\t%v\t%v\t%v\n", name, lookupIP(c.Src), lookupIP(c.ActualDst), lookupIP(c.OriginalDst))
    			}
    		}
    	}
    	return w.Flush()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top