- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for hasChangingContent (0.2 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/TransformBackedProvider.java
try (EvaluationContext.ScopeContext context = openScope()) { ExecutionTimeValue<? extends IN> value = provider.calculateExecutionTimeValue(); if (value.hasChangingContent()) { // Need the value contents in order to transform it to produce the value of this provider,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 17 23:22:41 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FilteringProvider.java
ExecutionTimeValue<? extends T> value = provider.calculateExecutionTimeValue(); if (value.isMissing()) { return value; } if (value.hasChangingContent()) { // Need the value contents in order to transform it to produce the value of this provider,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 17 23:22:41 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileCollectionTest.groovy
producer.visitProducerTasks(action) then: producer.known 0 * action._ expect: !elements.calculateExecutionTimeValue().hasChangingContent() } void elementsProviderHasSameDependenciesAsThis() { def collection = new TestFileCollectionWithDependency(dependency) def action = Mock(Action) def task = Mock(TaskInternal)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSupplier.java
} /** * A fixed value may have changing contents. For example, a task output file whose location is known at configuration time. */ public boolean hasChangingContent() { return false; } public T getFixedValue() throws IllegalStateException { throw new IllegalStateException(); }
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/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
expect: assertHasKnownProducer(property) def value = property.calculateExecutionTimeValue() value.hasFixedValue() !value.hasChangingContent() value.getFixedValue().isEmpty() } def "has no producer and missing execution time value when element provider with no value added"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 58.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
expect: assertHasKnownProducer(property) def value = property.calculateExecutionTimeValue() value.hasFixedValue() !value.hasChangingContent() value.getFixedValue().isEmpty() } def "has no producer and missing execution time value when element provider with no value added"() { given: property.addAll("a", "b")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy
property.set(someValue()) expect: assertHasNoProducer(property) def value = property.calculateExecutionTimeValue() value.hasFixedValue() !value.hasChangingContent() value.getFixedValue() == someValue() } def "can attach a producer task to property"() { def task = Mock(Task) def property = propertyWithNoValue()
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/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java
return ExecutionTimeValue.missing(); } if (value.isChangingValue()) { fixed = false; } else if (value.hasChangingContent()) { changingContent = true; } } if (fixed) { return getFixedExecutionTimeValue(values, changingContent); }
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
return ExecutionTimeValue.missing(); } if (value.isChangingValue()) { fixed = false; } else if (value.hasChangingContent()) { changingContent = true; } } if (fixed) { SideEffectBuilder<? super Map<K, V>> sideEffectBuilder = SideEffect.builder();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 32.6K bytes - Viewed (0)