Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 461 for factory (0.14 sec)

  1. subprojects/core/src/main/java/org/gradle/process/internal/ExecFactory.java

        /**
         * Creates a new factory for the given context. Returns a {@link Builder} for further configuration of the created instance. You must provide an Instantiator when creating the child factory from
         * the root one.
         */
        Builder forContext();
    
        /**
         * Builder to configure an instance of the new factory.
         */
        interface Builder {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/ConnectorServices.java

        }
    
        private static class ConnectorServiceRegistry extends DefaultServiceRegistry {
            @Provides
            protected Factory<DefaultGradleConnector> createConnectorFactory(final ConnectionFactory connectionFactory, final DistributionFactory distributionFactory) {
                return new Factory<DefaultGradleConnector>() {
                    @Override
                    public DefaultGradleConnector create() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTest.kt

                """
                myFun {
                    a = 1
                    b = f("x", z.f("y"))
                    c = true
                    nested {
                        x = "y"
                    }
                    factory(1)
                }
                """.trimIndent()
            )
    
            assertEquals(
                """
                element(myFun)[0..106]
                    property(a, literal(1)[16..16])[12..16]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileCollectionFactory.java

    import org.gradle.api.internal.tasks.TaskDependencyResolveContext;
    import org.gradle.api.tasks.TaskDependency;
    import org.gradle.api.tasks.util.PatternSet;
    import org.gradle.internal.Factory;
    import org.gradle.internal.file.PathToFileResolver;
    import org.gradle.internal.logging.text.TreeFormatter;
    import org.gradle.internal.nativeintegration.filesystem.FileSystem;
    
    import java.io.File;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 18:57:37 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementBuildScopeServices.java

            };
        }
    
        @Provides
        protected ApiTextResourceAdapter.Factory createTextResourceAdapterFactory(TextUriResourceLoader.Factory textUriResourceLoaderFactory, TemporaryFileProvider tempFileProvider) {
            return new ApiTextResourceAdapter.Factory(textUriResourceLoaderFactory, tempFileProvider);
        }
    
        @Provides
        MavenSettingsProvider createMavenSettingsProvider() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheServiceFactoryTest.groovy

        def resolver = Mock(FileResolver)
        def fileAccessTimeJournal = Mock(FileAccessTimeJournal)
        def cacheConfigurations = Mock(CacheConfigurationsInternal)
        def factory = new DirectoryBuildCacheServiceFactory(cacheRepository, globalScopedCache, resolver, fileAccessTimeJournal, cacheConfigurations)
        def cacheBuilder = Stub(CacheBuilder)
        def config = Mock(DirectoryBuildCache)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:35:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CacheAccessSerializer.java

        public CacheAccessSerializer(Cache<K, V> cache) {
            this.cache = cache;
        }
    
        @Override
        public V get(final K key, final Function<? super K, ? extends V> factory) {
            return synchronizer.synchronize(() -> cache.get(key, factory));
        }
    
        @Override
        public V getIfPresent(K key) {
            return synchronizer.synchronize(() -> cache.getIfPresent(key));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultVariant.java

    import org.gradle.api.internal.file.FileCollectionFactory;
    import org.gradle.api.internal.tasks.TaskDependencyFactory;
    import org.gradle.internal.Describables;
    import org.gradle.internal.DisplayName;
    import org.gradle.internal.Factory;
    import org.gradle.internal.typeconversion.NotationParser;
    
    import javax.annotation.Nullable;
    import java.util.List;
    import java.util.Optional;
    
    public class DefaultVariant implements ConfigurationVariantInternal {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/model/CalculatedValueContainerFactory.java

            }
    
            @Override
            public V computeIfAbsent(K key, Function<K, V> factory) {
                CalculatedValue<V> value = cache.computeIfAbsent(key, k ->
                    calculatedValueContainerFactory.create(
                        Describables.of(k, type),
                        context -> factory.apply(k)
                    )
                );
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:21:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheAwareLocalComponentCache.kt

        private val cache: BuildTreeConfigurationCache
    ) : LocalComponentCache {
        override fun computeIfAbsent(project: ProjectState, factory: Function<ProjectState, LocalComponentGraphResolveState>): LocalComponentGraphResolveState {
            return cache.loadOrCreateProjectMetadata(project.identityPath) {
                factory.apply(project)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top