- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 39 for ValueSupplier (0.17 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDependencyTest.groovy
*/ package org.gradle.api.internal.tasks import org.gradle.api.Buildable 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.api.tasks.TaskProvider import org.gradle.internal.typeconversion.UnsupportedNotationException import org.gradle.util.internal.TextUtil
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveChangesStep.java
@Override public void visitInputFileProperty(String propertyName, InputBehavior behavior, InputFileValueSupplier valueSupplier) { if (behavior.shouldTrackChanges()) { Object value = valueSupplier.getValue(); if (value == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 17:10:38 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/AbstractValidatingProperty.java
if (isPresent(unnested)) { // only resolve deferred values if actually required by some action Supplier<Object> valueSupplier = Suppliers.memoize(() -> DeferredUtil.unpack(unnested)); validationAction.validate(propertyName, valueSupplier, context); } else { if (!optional) { reportValueNotSet(propertyName, context, hasConfigurableValue(unnested)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 09:10:37 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/impl/DefaultInputFingerprinter.java
import org.gradle.internal.execution.UnitOfWork.InputFileValueSupplier; import org.gradle.internal.execution.UnitOfWork.InputVisitor; import org.gradle.internal.execution.UnitOfWork.ValueSupplier; import org.gradle.internal.fingerprint.CurrentFileCollectionFingerprint; import org.gradle.internal.fingerprint.FileCollectionFingerprint; import org.gradle.internal.properties.InputBehavior;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Collector.java
/** * A collector is a value supplier of zero or more values of type {@link T}. * <p> * A <code>Collector</code> represents an increment to a collection property. * </p> */ public interface Collector<T> extends ValueSupplier { Value<Void> collectEntries(ValueConsumer consumer, ValueCollector<T> collector, ImmutableCollection.Builder<T> dest); int size();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 21 05:02:13 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MapCollector.java
* </p> */ public interface MapCollector<K, V> extends ValueSupplier { Value<Void> collectEntries(ValueConsumer consumer, MapEntryCollector<K, V> collector, Map<K, V> dest);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 21 12:22:39 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MapSupplier.java
* * @param <K> the type of map entry key * @param <V> the type of map entry value */ interface MapSupplier<K, V> extends ValueSupplier { Value<? extends Map<K, V>> calculateValue(ValueConsumer consumer); Value<? extends Set<K>> calculateKeys(ValueConsumer consumer); MapSupplier<K, V> plus(MapCollector<K, V> collector); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 21 12:22:39 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java
default void visitInputProperty( String propertyName, ValueSupplier value ) {} default void visitInputFileProperty( String propertyName, InputBehavior behavior, InputFileValueSupplier value ) {} } interface ValueSupplier { @Nullable Object getValue(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 13.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy
private void declareInput(File file) { def valueSupplier = Stub(UnitOfWork.InputFileValueSupplier) { getFiles() >> TestFiles.fixed(file) } inputListeners.broadcastFileSystemInputsOf(Stub(UnitOfWork) { visitRegularInputs(_ as InputVisitor) >> { InputVisitor visitor -> visitor.visitInputFileProperty("test", PRIMARY, valueSupplier) } }, EnumSet.allOf(InputBehavior))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 12.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ProviderInternal.java
* input providers that have a fixed value with that value, as above. * </p> * </li> * </ul> * * <p>See {@link org.gradle.api.internal.provider.ValueSupplier.ExecutionTimeValue}, which represents these states.</p> * * <p>The value itself might be "missing", which means there is no value available, or "broken", which means the calculation failed with some exception, or some object.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 11.2K bytes - Viewed (0)