- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for ValueSupplier (0.37 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSupplier.java
* <p> * All providers implement this interface, but this interface may be implemented whenever * lazy evaluation is required. * </p> */ public interface ValueSupplier { /** * Visits the producer of the value for this supplier. This might be one or more tasks, some external location, nothing (for a fixed value) or might unknown. */ ValueProducer getProducer();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 20:31:29 UTC 2024 - 27.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java
} } return finalizeOnNextGet || consumer == ValueSupplier.ValueConsumer.DisallowUnsafeRead; } @Override public ValueSupplier.ValueConsumer forUpstream(ValueSupplier.ValueConsumer consumer) { if (disallowUnsafeRead) { return ValueSupplier.ValueConsumer.DisallowUnsafeRead; } else { return consumer;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 13.7K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt
return decodeValue().toProvider() } suspend fun ReadContext.decodeValue(): ValueSupplier.ExecutionTimeValue<*> = when (readByte()) { 1.toByte() -> ValueSupplier.ExecutionTimeValue.missing<Any>() 2.toByte() -> ValueSupplier.ExecutionTimeValue.ofNullable(read()) // nullable because serialization may replace value with null, e.g. when using provider of Task
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 17.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Collectors.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:15:09 UTC 2024 - 14.9K 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-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) -
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) -
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/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)