- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for set_producer (0.35 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultProviderTest.groovy
return callable.provider } @Override List<Consumer<ProviderInternal<?>>> safeConsumers() { return [ProviderConsumer.TO_STRING, ProviderConsumer.GET_PRODUCER] } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:32 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MappingProviderTest.groovy
return transform.provider } @Override List<Consumer<ProviderInternal<?>>> safeConsumers() { return [ProviderConsumer.TO_STRING, ProviderConsumer.GET_PRODUCER, ProviderConsumer.CALCULATE_PRESENCE] } } static class MappingProviderCircularChainEvaluationTest extends CircularChainEvaluationSpec<String> implements UsesStringProperty { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:32 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MergeProvider.java
return Cast.uncheckedCast(List.class); } @Override public ValueProducer getProducer() { ImmutableList.Builder<ValueProducer> producers = ImmutableList.builderWithExpectedSize(items.size()); for (Provider<R> item : items) { producers.add(Providers.internal(item).getProducer()); } return new MergeValueProducer(producers.build()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:34 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/BuildableBackedProvider.java
this.valueFactory = valueFactory; } @Nullable @Override public Class<T> getType() { return valueType; } @Override public ValueProducer getProducer() { // not a lambda for readability purposes. //noinspection Convert2Lambda return new ValueProducer() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:30 UTC 2023 - 2.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/TestNamedProvider.groovy
@Override <U, R> Provider<R> zip(Provider<U> right, BiFunction<? super T, ? super U, ? extends R> combiner) { throw new UnsupportedOperationException() } @Override ValueProducer getProducer() { throw new UnsupportedOperationException() } @Override boolean calculatePresence(ValueConsumer consumer) { throw new UnsupportedOperationException() } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 08:18:33 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CredentialsProviderFactory.java
public InterceptingProvider(Callable<? extends T> value) { super(value); } @Override public ValueProducer getProducer() { calculatePresence(ValueConsumer.IgnoreUnsafeRead); return super.getProducer(); } @Override public boolean calculatePresence(ValueConsumer consumer) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/OrElseProvider.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 17 23:22:42 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractMinimalProvider.java
@Override public void visitDependencies(TaskDependencyResolveContext context) { // When used as an input, add the producing tasks if known getProducer().visitProducerTasks(context); } @Override public ValueProducer getProducer() { return ValueProducer.unknown(); } @Override public ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
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/main/java/org/gradle/api/internal/provider/OrElseFixedValueProvider.java
} @Nullable @Override public Class<T> getType() { return Cast.uncheckedCast(provider.getType()); } @Override public ValueProducer getProducer() { try (EvaluationContext.ScopeContext context = openScope()) { return new OrElseValueProducer(context, provider); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 17 23:22:42 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/ProviderBackedFileCollection.java
return "file collection"; } @Override public void visitDependencies(TaskDependencyResolveContext context) { ValueSupplier.ValueProducer producer = provider.getProducer(); if (producer.isKnown()) { producer.visitProducerTasks(context); } else { // Producer is unknown, so unpack the value
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.9K bytes - Viewed (0)