Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,245 for PROPERTY (0.27 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PropertyDelegate.kt

    
    /**
     * Provides efficient access to a property.
     */
    interface PropertyDelegate {
        operator fun <T> getValue(receiver: Any?, property: KProperty<*>): T
    }
    
    
    /**
     * Provides efficient access to a mutable dynamic property.
     */
    interface MutablePropertyDelegate : PropertyDelegate {
        operator fun <T> setValue(receiver: Any?, property: KProperty<*>, value: T)
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MutableClassDetails.java

            instanceMethods.add(method);
        }
    
        MutablePropertyDetails property(String propertyName) {
            MutablePropertyDetails property = properties.get(propertyName);
            if (property == null) {
                property = new MutablePropertyDetails(propertyName);
                properties.put(propertyName, property);
            }
            return property;
        }
    
        public void field(Field field) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    ** `Property` extends the `Provider` interface.
    ** The method link:{javadocPath}/org/gradle/api/provider/Property.html#set-T-[Property.set(T)] specifies a value for the property, overwriting whatever value may have been present.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionIntegrationTest.groovy

            'Property'     | 'String'   | ['--myProp=test']                    | 'test'              | 'provided'
            'Property'     | 'String'   | ['--myProp=ab\'c=123:x\\yz45']       | 'ab\'c=123:x\\yz45' | 'provided with special characters'
            'Property'     | 'String'   | []                                   | 'null '             | 'not provided'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/main/java/org/gradle/api/internal/PropertyListTransformer.java

         * Adds an action to be executed when property lists are transformed.
         * @param action the action to add
         */
        public void addAction(Action<? super T> action) {
            actions.add(action);
        }
    
        /**
         * Transforms a property list object. This will modify the
         * original.
         * @param original the property list to transform
         * @return the transformed property list
         */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 17:10:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            readOnlyBean.someValue.toString() == "<display name> property 'someValue'"
            readOnlyBeanWithMapping.someValue.toString() == "<display name> property 'someValue'"
            finalBeanWithOverloads.getSomeValue().toString() == "<display name> property 'someValue'"
            beanWithOverloads.getSomeValue().toString() == "<display name> property 'someValue'"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /**
         * Get the value of property as {@link String}.
         * @param propertyKey The key of the property. (NotNull)
         * @return The value of found property. (NotNull: if not found, exception)
         * @throws ConfigPropertyNotFoundException When the property is not found.
         */
        String get(String propertyKey);
    
        /**
         * Is the property true?
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Apr 11 02:34:53 UTC 2024
    - 459.2K bytes
    - Viewed (0)
  8. platforms/software/resources-gcs/src/main/java/org/gradle/internal/resource/transport/gcp/gcs/GcsConnectionProperties.java

                    throw new IllegalArgumentException("System property [" + GCS_ENDPOINT_PROPERTY + "=" + property + "]  must be a valid URI");
                }
            }
            return uri;
        }
    
        private static String configureServicePath(String property) {
            if (StringUtils.isNotBlank(property)) {
               return property;
            } else {
                return null;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyLifecycleIntegrationTest.groovy

            outputContains("get failed: Cannot query the value of task ':producer' property 'output' because configuration of root project 'broken' has not completed yet.")
            outputContains("get from task failed: Cannot query the value of task ':producer' property 'output' because task ':producer' has not completed yet.")
            outputContains("set failed: The value for task ':producer' property 'output' is final and cannot be changed any further.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/DelegatedExtraPropertiesIntegrationTest.kt

            assertThat(
                buildAndFail("myTask").error,
                containsString("Cannot get non-null extra property 'foo' as it does not exist")
            )
        }
    
        @Test
        fun `non-nullable delegated extra property access of existing null extra property throws`() {
    
            withBuildScript(
                """
                val myTask = task("myTask") {
                    val foo: Int? by extra { null }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top