Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for supplied (0.24 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

            public int hashCode() {
                return hash;
            }
        }
    
        static class CachingSupplier<T> implements Supplier<T> {
            final Supplier<T> supplier;
            volatile Object value;
    
            CachingSupplier(Supplier<T> supplier) {
                this.supplier = supplier;
            }
    
            @Override
            @SuppressWarnings({"unchecked", "checkstyle:InnerAssignment"})
            public T get() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java

                    }
                }
                return model;
            }
    
            public Model computeIfAbsent(Supplier<Model> supplier) {
                if (!set) {
                    synchronized (this) {
                        if (!set) {
                            this.set = true;
                            this.model = supplier.get();
                            this.notifyAll();
                        }
                    }
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            throw (T) t; // rely on vacuous cast
        }
    
        static class LazyMap<K, V> extends AbstractMap<K, V> {
            private final Supplier<Map<K, V>> supplier;
            private volatile Map<K, V> delegate;
    
            LazyMap(Supplier<Map<K, V>> supplier) {
                this.supplier = supplier;
            }
    
            @Override
            public Set<Entry<K, V>> entrySet() {
                if (delegate == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        /* MNG-786*/
        @Test
        void testProfileModules() throws Exception {
            PomTestWrapper pom = buildPom("profile-module", "a");
            assertEquals("test-prop", pom.getValue("properties[1]/b")); // verifies profile applied
            assertEquals(4, ((List<?>) pom.getValue("modules")).size());
            assertEquals("module-2", pom.getValue("modules[1]"));
            assertEquals("module-1", pom.getValue("modules[2]"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java

     * model builder.
     *
     */
    public interface ModelCache {
    
        <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data);
    
        <T> T computeIfAbsent(Source path, String tag, Supplier<T> data);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

        }
    
        public PluginDescriptor get(Key cacheKey) {
            return clone(descriptors.get(cacheKey));
        }
    
        @Override
        public PluginDescriptor get(Key key, PluginDescriptorSupplier supplier)
                throws PluginDescriptorParsingException, PluginResolutionException, InvalidPluginDescriptorException {
    
            try {
                PluginDescriptor desc = descriptors.get(key);
                if (desc == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

         */
        @Test
        void testPomAndSettingsInterpolation() throws Exception {
            PomTestWrapper pom = buildPom("test-pom-and-settings-interpolation");
            assertEquals("applied", pom.getValue("properties/settingsProfile"));
            assertEquals("applied", pom.getValue("properties/pomProfile"));
            assertEquals("settings", pom.getValue("properties/pomVsSettings"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         */
        TAGLETS("-tagletpath");
    
        /**
         * Creates a path identified by the Java {@code --patch-module} option.
         * Contrarily to the other types of paths, this path is applied to only
         * one specific module. Used for compilation and execution among others.
         *
         * <p><b>Context-sensitive interpretation:</b>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

     * under the License.
     */
    package org.apache.maven.api.plugin;
    
    import java.util.function.Supplier;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Provider;
    
    /**
     * This interface supplies the API for providing feedback to the user from the <code>Mojo</code>, using standard
     * <code>Maven</code> channels.<br>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                requestExtender.extend(request);
            }
    
            MavenSessionBuilderSupplier supplier = new MavenSessionBuilderSupplier(repoSystem);
            SessionBuilder sessionBuilder = supplier.get();
            sessionBuilder.setArtifactTypeRegistry(new TypeRegistryAdapter(typeRegistry)); // dynamic
            sessionBuilder.setCache(request.getRepositoryCache());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top