- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for attachProducer (0.84 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/PropertyInternal.java
/** * Associates this property with the task that produces its value. */ void attachProducer(ModelObject owner); /** * A simple getter that checks if this property has been finalized. * * @return {@code true} if this property has been finalized, {@code false} otherwise */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 11:58:44 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/TransformBackedProviderTest.groovy
_ * owner.taskThatOwnsThisObject >> task def property = TestUtil.objectFactory().property(String) property.attachOwner(owner, Describables.of("<prop>")) property.attachProducer(owner) property.set("12") return property } Property<String> propertyWithCompletedProducer() { def task = Mock(Task) def state = Mock(TaskState)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 15:06:10 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy
} def "shallow copy does not inherit producer from the original"() { given: def task = Mock(Task) def property = propertyWithNoValue() property.attachProducer(owner(task)) expect: assertHasNoProducer(property.shallowCopy()) } def "shallow copy reflects changes to the value"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 07 12:47:05 UTC 2024 - 6.8K bytes - Viewed (0)