- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for finalizeOnReadIfNeeded (0.16 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java
beforeRead(context, null, consumer); } private void beforeRead(EvaluationContext.ScopeContext context, @Nullable ModelObject effectiveProducer, ValueConsumer consumer) { state.finalizeOnReadIfNeeded(this.getDisplayName(), effectiveProducer, consumer, effectiveConsumer -> finalizeNow(context, effectiveConsumer)); } private void finalizeNow(EvaluationContext.ScopeContext context, ValueConsumer 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/ValueState.java
return this == FINALIZED_VALUE; } /** * Is this state final or on its way for being finalized? */ public abstract boolean isFinalizing(); public void finalizeOnReadIfNeeded(Describable displayName, @Nullable ModelObject effectiveProducer, ValueSupplier.ValueConsumer consumer, Action<ValueSupplier.ValueConsumer> finalizeNow) { if (maybeFinalizeOnRead(displayName, effectiveProducer, 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/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java
})); setExplicitCollector(new ResolvedItemsCollector(builder.build())); } @Override protected void visitChildren(Consumer<FileCollectionInternal> visitor) { valueState.finalizeOnReadIfNeeded(this::displayNameForThisCollection, null, ValueSupplier.ValueConsumer.IgnoreUnsafeRead, unused -> finalizeNow()); value.visitContents(visitor); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:06:55 UTC 2024 - 30.2K bytes - Viewed (0)