- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 650 for PROPERTY (0.15 sec)
-
subprojects/core-api/src/main/java/org/gradle/api/provider/Property.java
*/ Property<T> value(@Nullable T value); /** * Sets the property to have the same value as the given provider, replacing whatever value the property already had. * This property will track the value of the provider and query its value each time the value of the property is queried. * When the provider has no value, this property will also have no value. This is the same as {@link #set(Provider)}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:06:55 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/property/tests/property.sample.conf
Laura Kassovic <******@****.***> 1712936267 -0700
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 15:37:47 UTC 2024 - 176 bytes - Viewed (0) -
maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-property-with-project-expressions.xml
<packaging>pom</packaging> <profiles> <profile> <id>property-name-project-version</id> <activation> <property> <name>${project.version}</name> </property> </activation> </profile> <profile> <id>property-value-project-version</id> <activation> <property> <name>project.version</name> <value>${project.version}</value>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 13:13:07 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
given: property.set(notDefined()) and: property.put('k1', 'v1') property.put('k2', Providers.of('v2')) property.putAll(['k3': 'v3']) property.putAll(Providers.of(['k4': 'v4'])) expect: !property.present property.getOrNull() == null property.getOrElse(['kk': 'vv']) == ['kk': 'vv'] when: property.get() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 58.7K bytes - Viewed (0) -
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) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
given: def property = property() property.set(someValue()) property.set((Iterable) null) expect: !property.present property.getOrNull() == null property.getOrElse(someValue()) == someValue() property.getOrElse(null) == null } def "can set null value to remove any added values"() { property.add("abc")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy
"System.getProperties().get('some.property')", "getProperties().get('some.property')", "System.getProperty('some.property')", "System.getProperty(*['some.property'])", "getProperty('some.property')",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/provider/MapProperty.java
* This property will query the entries of the map each time the value of this property is queried. * * <p>This method can also be used to discard the value of the property, by passing {@code null} as the value. * The convention for this property, if any, will be used to provide the value instead. * * @param entries the entries, can be {@code null} */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 16:25:03 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java
} private static boolean isNameProperty(PropertyMetadata property) { // Property is read only, called "name", has type String and getter is abstract return property.isReadOnly() && "name".equals(property.getName()) && property.getType() == String.class && property.getMainGetter().isAbstract(); } private static boolean hasPropertyType(PropertyMetadata property) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 63K bytes - Viewed (0)