- Sort Score
- Result 10 results
- Languages All
Results 31 - 39 of 39 for ValueSupplier (0.17 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskDependency.java
import org.gradle.api.Buildable; import org.gradle.api.InvalidUserDataException; import org.gradle.api.Task; import org.gradle.api.internal.provider.ProviderInternal; import org.gradle.api.internal.provider.ValueSupplier; import org.gradle.api.tasks.TaskDependency; import org.gradle.internal.Cast; import org.gradle.internal.typeconversion.UnsupportedNotationException; import javax.annotation.Nonnull; import javax.annotation.Nullable;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 12:20:43 UTC 2024 - 10.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultDomainObjectCollectionTest.groovy
import org.gradle.api.Action import org.gradle.api.internal.collections.IterationOrderRetainingSetElementSource import org.gradle.api.internal.provider.ProviderInternal import org.gradle.api.internal.provider.ValueSupplier import org.gradle.api.specs.Spec import org.gradle.internal.code.UserCodeSource import org.gradle.util.TestUtil import static org.gradle.util.internal.WrapUtil.toList
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 16 23:50:58 UTC 2024 - 11.3K bytes - Viewed (0) -
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/CircularEvaluationSpec.groovy
import static org.gradle.api.internal.provider.CircularEvaluationSpec.ProviderConsumer.TO_STRING import static org.gradle.api.internal.provider.ValueSupplier.ValueConsumer.IgnoreUnsafeRead abstract class CircularEvaluationSpec<T> extends Specification { List<Consumer<ProviderInternal<?>>> throwingConsumers() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:32 UTC 2023 - 8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractMinimalProvider.java
return DEFAULT_DISPLAY_NAME; } return displayName; } protected DisplayName getTypedDisplayName() { return DEFAULT_DISPLAY_NAME; } protected abstract ValueSupplier.Value<? extends T> calculateOwnValue(ValueConsumer consumer); protected Value<? extends T> calculateOwnPresentValue() { Value<? extends T> value = calculateOwnValue(ValueConsumer.IgnoreUnsafeRead);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 17 23:22:41 UTC 2024 - 7.9K 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)