Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 385 for providerID (0.16 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

            given:
            def provider1 = registerService("one", ServiceImpl)
            def provider2 = registerService("two", StoppableServiceImpl)
            def provider3 = registerService("three", StoppableServiceImpl)
    
            when:
            def notStoppable = provider1.get()
            def stoppable1 = provider2.get()
            def stoppable2 = provider3.get()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/provider/Provider.java

         *
         * @param provider The provider whose value should be used when this provider has no value.
         * @since 5.6
         */
        Provider<T> orElse(Provider<? extends T> provider);
    
        /**
         * Deprecated. There is no need to use this method.
         *
         * @since 6.5
         * @deprecated Since version 7.4 this method does nothing. All providers can be used at configuration time without explicit opt-in.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 09:14:21 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorDslIntegrationTest.groovy

            """
        }
    
        private static final String ERROR_MESSAGE_PROVIDER = "Providers of type 'java.lang.String' are not supported. Only Provider<Dependency> and Provider<DependencyConstraint> are supported. Try using the Provider#map method to convert to a supported type.";
    
        def "cannot add non-Dependency providers to the dependency collector (fails at runtime)"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 16:23:38 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    ====
    
    Providers:
    
    * Properties with these types are read-only.
    * The method link:{javadocPath}/org/gradle/api/provider/Provider.html#get--[Provider.get()] returns the current value of the property.
    * A `Provider` can be created from another `Provider` using link:{javadocPath}/org/gradle/api/provider/Provider.html#map-org.gradle.api.Transformer-[Provider.map(Transformer)].
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    ** If it's a new property, expose it as a link:{javadocPath}/org/gradle/api/provider/Property.html[Property] or link:{javadocPath}/org/gradle/api/provider/Provider.html[Provider] using a single getter.
    ** If it's incubating, change it to use a link:{javadocPath}/org/gradle/api/provider/Property.html[Property] or link:{javadocPath}/org/gradle/api/provider/Provider.html[Provider] using a single getter.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc

    Providers are used to model values that may be computed lazily in your build scripts.
    
    The `ProviderFactory` interface provides methods for creating various types of providers, including:
    
    - `provider(Callable<T> value)` to create a provider with a value that is lazily computed based on a `Callable`.
    - `provider(Provider<T> value)` to create a provider that simply wraps an existing provider.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. pilot/pkg/model/telemetry.go

    				continue
    			}
    
    			if reportInterval != nil {
    				reportingIntervals[provider] = reportInterval
    			}
    
    			if _, f := providers[provider]; !f {
    				providers[provider] = map[tpb.WorkloadMode]map[string]metricOverride{
    					tpb.WorkloadMode_CLIENT: {},
    					tpb.WorkloadMode_SERVER: {},
    				}
    			}
    
    			mp := providers[provider]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go

    			wantReadyzChecks:     []string{"etcd", "kms-provider-0", "kms-provider-1", "etcd-readiness"},
    			wantLivezChecks:      []string{"etcd"},
    		},
    		{
    			name:                 "two kms-providers+reload, expect single kms healthz check, no kms livez check",
    			encryptionConfigPath: "testdata/encryption-configs/multiple-kms-providers.yaml",
    			reload:               true,
    			wantHealthzChecks:    []string{"etcd", "kms-providers"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

                        return System.getProperty("my.property") + suffix
                    }
                }
    
                def someProp = providers.systemProperty("some.property")
    
                def vsResult = providers.of(MySource) {
                    parameters.value = someProp
                }
    
                println("ValueSource result = \${vsResult.get()}")
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

            }
        }
    
        @Override
        public void set(final Provider<? extends Iterable<? extends T>> provider) {
            if (provider == null) {
                throw new IllegalArgumentException("Cannot set the value of a property using a null provider.");
            }
            ProviderInternal<? extends Iterable<? extends T>> p = Providers.internal(provider);
            if (p.getType() != null && !Iterable.class.isAssignableFrom(p.getType())) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top