Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,479 for property2 (0.18 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/InstrumentedMetaClass.java

    /**
     * An implementation of a Groovy MetaClass that is instrumented and might need to cancel some optimizations
     * in order to get the instrumentation to work properly.
     */
    public interface InstrumentedMetaClass {
        /**
         * Checks if accessing a property by the specified name would be intercepted by the instrumentation at this
         * specific moment. The implementation may return different values at different times.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 09 10:01:06 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

        /**
         * Creates a shallow copy of this property. Further changes to this property (via {@code set(...)}, or {@code convention(Object...)}) do not
         * change the copy. However, the copy still reflects changes to the underlying providers that constitute this property. Consider the following snippet:
         * <pre>
         *     def upstream = objects.property(String).value("foo")
         *     def property = objects.property(String).value(upstream)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

        ArtifactHandlerScope.of(artifacts).configuration()
    
    
    /**
     * Locates a property on [Project].
     */
    operator fun Project.provideDelegate(any: Any?, property: KProperty<*>): PropertyDelegate =
        propertyDelegateFor(serviceOf(), this, property)
    
    
    /**
     * Creates a container for managing named objects of the specified type.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            property.get() == someValue()
    
            property.set(someOtherValue())
            property.present
            property.get() == someOtherValue()
        }
    
        def "can use null convention value"() {
            def property = propertyWithNoValue()
            assert property.getOrNull() != someValue()
    
            expect:
            nullConvention(property)
    
            !property.present
            property.getOrNull() == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy

            and: 'conventions get properly applied'
            // check the conventions in the resolution results, they should be there, and it is independent of the DOM overlay
            def projectEvaluated = project.stepResults.values()[0] as EvaluationResult.Evaluated<AnalysisStepResult>
            projectEvaluated.stepResult.assignmentTrace.resolvedAssignments.entrySet().any {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:32:11 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            <para>No script blocks</para>
        </section>
        <section>
            <title>Property details</title>
            <section id="prop1" role="detail">
                <title><classname>org.gradle.Type</classname> <literal>deprecatedProperty</literal> (read-only)</title>
                <caution>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

            where:
            kind       | setExpr         | expr
            "property" | "ext.foo = 1"   | "foo"
            "property" | "ext.foo = 1"   | "hasProperty('foo')"
            "property" | "ext.foo = 1"   | "property('foo')"
            "property" | "ext.foo = 1"   | "findProperty('foo')"
            "property" | "ext.foo = 1"   | "getProperty('foo')"
            "property" | "ext.foo = 1"   | "properties"
            "method"   | "def foo() { }" | "foo()"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         */
        @Nonnull
        Map<String, String> getProperties(@Nonnull Project project);
    
        /**
         * Set a given project property.
         *
         * @param project the project to modify
         * @param key they property's key
         * @param value the value or {@code null} to unset the property
         */
        void setProperty(@Nonnull Project project, @Nonnull String key, @Nullable String value);
    
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.api.artifacts.DependencyArtifact.getExtension()> does not have raw return type assignable to org.gradle.api.provider.Property in (DependencyArtifact.java:0)
    Method <org.gradle.api.artifacts.DependencyArtifact.getName()> does not have raw return type assignable to org.gradle.api.provider.Property in (DependencyArtifact.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultPropertyTest.groovy

            def property = property()
            property.set(someValue())
            property.set((String) null)
    
            expect:
            !property.present
            property.getOrNull() == null
            property.getOrElse(someValue()) == someValue()
            property.getOrElse(null) == null
        }
    
        def "can't set null provider to discard value"() {
            given:
            def property = property()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top