Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 166 for getStep (0.21 sec)

  1. platforms/documentation/docs/src/snippets/tasks/commandLineOption-optionValues/groovy/buildSrc/src/main/java/UrlProcess.java

        @Input
        @Option(option = "http", description = "Configures the http protocol to be allowed.")
        public abstract Property<Boolean> getHttp();
    
        @Option(option = "url", description = "Configures the URL to send the request to.")
        public void setUrl(String url) {
            if (!getHttp().getOrElse(true) && url.startsWith("http://")) {
                throw new IllegalArgumentException("HTTP is not allowed");
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/TypeAnnotationMetadataStore.java

     * The store implementation can be supplied with a {@link java.util.function.Predicate} to identify generated getters.
     * If the {@code is}-getter is generated, and the {@code get}-getter is not ignored explicitly, then the generated
     * {@code is}-getter is automatically ignored in favor of the {@code get}-getter.
     * </p>
     */
    @ServiceScope(Scope.Global.class)
    public interface TypeAnnotationMetadataStore {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. pkg/kubelet/container/runtime_cache_fake.go

    	r.Lock()
    	defer r.Unlock()
    	return r.pods
    }
    
    // NewTestRuntimeCache creates a new instance of TestRuntimeCache.
    func NewTestRuntimeCache(getter podsGetter) *TestRuntimeCache {
    	return &TestRuntimeCache{
    		runtimeCache: runtimeCache{
    			getter: getter,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelChecker.groovy

            if (spec instanceof Closure) {
                def getter = spec as Closure
                assert getter(actual) == getter(expected)
            } else if (spec instanceof List) {
                assert spec.size() == 2
                def getter = spec[0] as Closure
                def checker = spec[1]
                def actualValue = getter(actual)
                def expectedValue = getter(expected)
                if (checker instanceof Closure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy

        }
    
        def "injects service using getter injection"() {
            given:
            services.add(String, "string")
    
            when:
            def result = instantiator.newInstance(HasGetterInjection)
    
            then:
            result.someService == 'string'
        }
    
        def "injects service using abstract getter injection"() {
            given:
            services.add(String, "string")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

         *
         * Here we automatically accept the following cases:
         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
         * - A new getter `getX` is added, where the old getter is a boolean getter `isX` of an upgraded property
         * - A return type is changed for a getter `getX` of an upgraded property
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/classpath/BasicCallInterceptionTest.groovy

            "normal getter"       | "call site" | "getTestString()"                             | { it.testString }                    | false
            "boolean getter"      | "call site" | "isTestFlag()"                                | { it.testFlag }                      | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:44:54 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  8. pkg/test/framework/components/namespace/namespace.go

    	return func(ctx resource.Context) (err error) {
    		*ns, err = New(ctx, cfg)
    		return
    	}
    }
    
    // Getter for a namespace Instance
    type Getter func() Instance
    
    // Get is a utility method that helps in readability of call sites.
    func (g Getter) Get() Instance {
    	return g()
    }
    
    // Future creates a Getter for a variable that namespace that will be set at sometime in the future.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 18:12:14 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/ObjectExtensionServiceInjectionIntegrationTest.groovy

                    }
                }
    
                extensions.create("thing", Thing, "a", 12)
            """
    
            expect:
            succeeds()
        }
    
        def "can inject service using getter"() {
            buildFile """
                class Thing {
                    Thing(String a) {
                    }
    
                    @Inject
                    ObjectFactory getObjects() { }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSyntheticJavaPropertySymbol.kt

            get() = withValidityAssertion { descriptor.isExtension }
    
        override val getter: KaPropertyGetterSymbol
            get() = withValidityAssertion {
                val getter = descriptor.getter ?: return KaFe10DescDefaultPropertyGetterSymbol(descriptor, analysisContext)
                return KaFe10DescPropertyGetterSymbol(getter, analysisContext)
            }
    
        override val javaGetterSymbol: KaFunctionSymbol
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top