Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasBeenObtained (0.17 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultValueSourceProviderFactory.java

            }
    
            public boolean hasBeenObtained() {
                return value.hasBeenObtained();
            }
    
            @Nullable
            @Override
            public Class<T> getType() {
                return null;
            }
    
            @Override
            public ExecutionTimeValue<T> calculateExecutionTimeValue() {
                if (value.hasBeenObtained()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:25 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt

        private val valueSourceProviderFactory: ValueSourceProviderFactory
    ) : Codec<ValueSourceProvider<*, *>> {
    
        override suspend fun WriteContext.encode(value: ValueSourceProvider<*, *>) {
            if (!value.hasBeenObtained()) {
                // source has **NOT** been used as build logic input:
                // serialize the source
                writeBoolean(true)
                encodeValueSource(value)
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top