- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for ValueSupplier (0.18 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java
* but computed by some {@link ValueSupplier}, which * provides the basic machinery for lazy evaluation. * </p> * * @param <T> the type of the value this property provides * @param <S> the type of value supplier that actually provides the value for this property */ public abstract class AbstractProperty<T, S extends ValueSupplier> extends AbstractMinimalProvider<T> implements PropertyInternal<T> {
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/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy
when: def sideEffect = Mock(ValueSupplier.SideEffect) def providerWithSideEffect = Providers.of(someValue()).withSideEffect(sideEffect) // `PropertyInternal` does not directly provide these setters, // but all user-facing interfaces and their implementations do. property."$setter"(providerWithSideEffect) property.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
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/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java
import org.gradle.api.internal.provider.HasConfigurableValueInternal; import org.gradle.api.internal.provider.PropertyHost; import org.gradle.api.internal.provider.ValueState; import org.gradle.api.internal.provider.ValueSupplier; import org.gradle.api.internal.provider.support.LazyGroovySupport; import org.gradle.api.internal.tasks.DefaultTaskDependency; import org.gradle.api.internal.tasks.TaskDependencyFactory;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:06:55 UTC 2024 - 30.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java
} private boolean isNoValueSupplier(CollectionSupplier<T, C> valueSupplier) { // Cannot use plain NoValueSupplier because of Java restrictions: // a generic type [AbstractCollectionProperty<T, C>.]NoValueSupplier cannot be used in instanceof. return valueSupplier instanceof AbstractCollectionProperty<?, ?>.NoValueSupplier; } @Override
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/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java
setToConventionIfUnset(); action.execute(getConfigurer(true)); } private boolean isNoValueSupplier(MapSupplier<K, V> valueSupplier) { return valueSupplier instanceof DefaultMapProperty.NoValueSupplier; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 32.6K bytes - Viewed (0)