- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for EvaluationContext (2.12 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java
*/ protected void beforeRead(EvaluationContext.ScopeContext context, ValueConsumer consumer) { beforeRead(context, producer, consumer); } protected void beforeReadNoProducer(EvaluationContext.ScopeContext context, ValueConsumer consumer) { beforeRead(context, null, consumer); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:54 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java
// Without the safety net of the EvaluationContext, it can cause hard-to-debug exceptions. try (EvaluationContext.ScopeContext context = openScope()) { return getSupplier(context); } } public DefaultProperty<T> provider(Provider<? extends T> provider) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java
} @Override protected Value<? extends Map<K, V>> calculateValueFrom(EvaluationContext.ScopeContext context, MapSupplier<K, V> value, ValueConsumer consumer) { return value.calculateValue(consumer); } @Override protected MapSupplier<K, V> finalValue(EvaluationContext.ScopeContext context, MapSupplier<K, V> value, ValueConsumer consumer) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 32.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java
return this; } @Override protected Value<? extends C> calculateValueFrom(EvaluationContext.ScopeContext context, CollectionSupplier<T, C> value, ValueConsumer consumer) { return value.calculateValue(consumer); } @Override protected CollectionSupplier<T, C> finalValue(EvaluationContext.ScopeContext context, CollectionSupplier<T, C> value, ValueConsumer consumer) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 29.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
property.add(item) when: consumer.accept(property) then: thrown(EvaluationContext.CircularEvaluationException) where: consumer << throwingConsumers() }
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/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
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
when: property.finalizeValue() then: 1 * function.call() >> { // Emulate concurrent get() in other thread EvaluationContext.current().evaluateNested(property::get) } 1 * function.call() >> someValue() 0 * function._ when: def result = property.get() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 87.8K bytes - Viewed (0)