Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for BuildCacheServiceFactory (0.61 sec)

  1. subprojects/core-api/src/main/java/org/gradle/caching/BuildCacheServiceFactory.java

     *             // configure custom build cache.
     *         }
     *     }
     * </pre>
     *
     * @param <T> the type of build cache configuration this factory can handle.
     * @since 3.5
     */
    public interface BuildCacheServiceFactory<T extends BuildCache> {
    
        /**
         * Creates a build cache service from the given configuration.
         *
         * Implementations should also provide a description via the given describer.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 08 17:15:17 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheServiceFactoryTest.groovy

            0 * _
        }
    
        private class NoopBuildCacheDescriber implements BuildCacheServiceFactory.Describer {
    
            @Override
            BuildCacheServiceFactory.Describer type(String type) { this }
    
            @Override
            BuildCacheServiceFactory.Describer config(String name, String value) { this }
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:35:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/caching/configuration/internal/DefaultBuildCacheServiceRegistration.java

     */
    
    package org.gradle.caching.configuration.internal;
    
    import org.gradle.caching.BuildCacheServiceFactory;
    import org.gradle.caching.configuration.BuildCache;
    
    public class DefaultBuildCacheServiceRegistration implements BuildCacheServiceRegistration {
        private final Class<? extends BuildCacheServiceFactory<?>> factoryType;
        private final Class<? extends BuildCache> configurationType;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 12 13:13:02 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/BuildCacheConfigurationExtensionsTest.kt

            buildCache.registerBuildCacheService(DirectoryBuildCacheServiceFactory::class)
    
            inOrder(buildCache) {
                verify(buildCache).registerBuildCacheService(any<Class<DirectoryBuildCache>>(), any<Class<BuildCacheServiceFactory<DirectoryBuildCache>>>())
                verifyNoMoreInteractions()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/caching/configuration/internal/BuildCacheServiceRegistration.java

     */
    
    package org.gradle.caching.configuration.internal;
    
    import org.gradle.caching.BuildCacheServiceFactory;
    import org.gradle.caching.configuration.BuildCache;
    
    public interface BuildCacheServiceRegistration {
        Class<? extends BuildCache> getConfigurationType();
        Class<? extends BuildCacheServiceFactory<?>> getFactoryType();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 12 13:13:02 UTC 2019
    - 948 bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/BuildCacheConfigurationExtensions.kt

     * @param buildCacheServiceFactoryType Implementation type of [BuildCacheServiceFactory] that is used to create a [org.gradle.caching.BuildCacheService]
     *
     * @see BuildCacheConfiguration.registerBuildCacheService
     */
    inline fun <reified T : BuildCache> BuildCacheConfiguration.registerBuildCacheService(buildCacheServiceFactoryType: KClass<out BuildCacheServiceFactory<in T>>) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/caching/configuration/internal/BuildCacheConfigurationInternal.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.caching.configuration.internal;
    
    import org.gradle.caching.BuildCacheServiceFactory;
    import org.gradle.caching.configuration.BuildCache;
    import org.gradle.caching.configuration.BuildCacheConfiguration;
    import org.gradle.caching.local.DirectoryBuildCache;
    import org.gradle.internal.service.scopes.Scope;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/caching/configuration/internal/DefaultBuildCacheConfiguration.java

        }
    
        @Override
        public <T extends BuildCache> Class<? extends BuildCacheServiceFactory<T>> getBuildCacheServiceFactoryType(Class<T> configurationType) {
            return getBuildCacheServiceFactoryType(configurationType, registrations);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 20 12:32:48 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/caching/configuration/internal/DefaultBuildCacheConfigurationTest.groovy

                new DefaultBuildCacheServiceRegistration(CustomBuildCache, BuildCacheServiceFactory),
                new DefaultBuildCacheServiceRegistration(OtherCustomBuildCache, BuildCacheServiceFactory)
            ])
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 12 13:13:02 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/caching/internal/FinalizeBuildCacheConfigurationBuildOperationType.java

                 */
                String getClassName();
    
                /**
                 * The human friendly description of the type (e.g. "HTTP", "directory")
                 *
                 * See {@code org.gradle.caching.BuildCacheServiceFactory.Describer#type(String)}.
                 */
                String getType();
    
                /**
                 * Whether push was enabled.
                 */
                boolean isPush();
    
                /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top