Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for key (0.38 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         * Create a key using the given class as an identifier and as the type of the object.
         */
        static <T> Key<T> key(Class<T> clazz) {
            return new Key<>(clazz, clazz);
        }
    
        /**
         * Create a key using the given class and id.
         */
        static <T> Key<T> key(Class<T> clazz, Object id) {
            return new Key<>(clazz, id);
        }
    
        /**
         * Key used to query the session data
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                        //noinspection unchecked
                        return () -> (Q) list(list);
                    }
                    if (key.getRawType() == Map.class) {
                        Key<?> k = key.getTypeParameter(0);
                        Key<Object> v = key.getTypeParameter(1);
                        if (k.getRawType() == String.class) {
                            Set<Binding<Object>> res2 = getBindings(v);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java

                this.realm = realm;
                this.extensionArtifactFilter = extensionArtifactFilter;
            }
        }
    
        Key createKey(List<? extends ClassRealm> extensionRealms);
    
        CacheRecord get(Key key);
    
        CacheRecord put(Key key, ClassRealm projectRealm, DependencyFilter extensionArtifactFilter);
    
        void flush();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

                Collection<String> artifacts,
                Collection<String> packages,
                String key,
                XmlNode configuration) {
            this.realm = realm;
            this.artifacts = Collections.unmodifiableSet(new HashSet<>(artifacts));
            this.packages = Collections.unmodifiableSet(new HashSet<>(packages));
            this.key = key;
            this.configuration = configuration;
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 07:14:56 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifact.java

        }
    
        @Override
        public boolean equals(Object o) {
            return o instanceof Artifact && Objects.equals(key(), ((Artifact) o).key());
        }
    
        @Override
        public int hashCode() {
            return key.hashCode();
        }
    
        @Override
        public String toString() {
            return artifact.toString();
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Wed Dec 20 13:03:35 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

        private static final String ISSUES_KEY = DefaultPluginValidationManager.class.getName() + ".issues";
    
        private static final String PLUGIN_EXCLUDES_KEY = DefaultPluginValidationManager.class.getName() + ".excludes";
    
        private static final String MAVEN_PLUGIN_VALIDATION_KEY = "maven.plugin.validation";
    
        private static final String MAVEN_PLUGIN_VALIDATION_EXCLUDES_KEY = "maven.plugin.validation.excludes";
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

         * same class realm is used to load build extensions and load mojos for extensions=true plugins.
         * </p>
         * <strong>Note:</strong> This is part of internal implementation and may be changed or removed without notice
         *
         * @since 3.3.0
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

                for (Plugin plugin : plugins) {
                    Object key = plugin.getKey();
                    Plugin first = normalized.get(key);
                    if (first != null) {
                        plugin = merger.mergePlugin(plugin, first);
                    }
                    normalized.put(key, plugin);
                }
    
                if (plugins.size() != normalized.size()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

            }
        }
    
        protected final Map<Key, CacheRecord> cache = new ConcurrentHashMap<>();
    
        @Override
        public Key createKey(List<? extends ClassRealm> extensionRealms) {
            return new CacheKey(extensionRealms);
        }
    
        public CacheRecord get(Key key) {
            return cache.get(key);
        }
    
        public CacheRecord put(Key key, ClassRealm projectRealm, DependencyFilter extensionArtifactFilter) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

        }
    
        public CacheRecord get(Key key) {
            return cache.get(key);
        }
    
        @Override
        public CacheRecord get(Key key, PluginRealmSupplier supplier)
                throws PluginResolutionException, PluginContainerException {
            try {
                return cache.computeIfAbsent(key, k -> {
                    try {
                        return supplier.load();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7.4K bytes
    - Viewed (0)
Back to top