Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for lookupMap (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java

            } catch (ComponentLookupException e) {
                throw new LookupException(e);
            }
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            try {
                return container.lookupMap(type);
            } catch (ComponentLookupException e) {
                throw new LookupException(e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

            return lookupOptional(type);
        }
    
        @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();
        }
    
        public static Builder builder() {
            return new Builder();
        }
    
        public static class Builder {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. impl/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

            return new LocalContext(this, invokerRequest);
        }
    
        @Override
        protected void lookup(LocalContext context) {
            context.goals = context.lookup.lookupMap(Goal.class);
        }
    
        public static final int OK = 0; // OK
        public static final int ERROR = 1; // "generic" error
        public static final int BAD_OPERATION = 2; // bad user input or alike
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. impl/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

            ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
            try {
                Thread.currentThread().setContextClassLoader(pluginDescriptor.getClassRealm());
    
                return container.lookupMap(role);
            } finally {
                Thread.currentThread().setContextClassLoader(oldClassLoader);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                        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
            @SuppressWarnings("unused")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. impl/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. compat/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 = container.lookup(SecDispatcher.class);
    
            return container;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top