Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for isExplicit (0.27 sec)

  1. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/Option.java

        abstract class Value<T> {
            public abstract boolean isExplicit();
    
            public abstract T get();
    
            /**
             * Creates the default value for an option.
             */
            public static <T> Value<T> defaultValue(final T value) {
                return new Value<T>() {
                    @Override
                    public boolean isExplicit() {
                        return false;
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modcmd/vendor.go

    				for _, r := range modFile.Require {
    					isExplicit[r.Mod] = true
    				}
    			}
    
    		}
    		includeAllReplacements = true
    	}
    	if gover.Compare(gv, "1.17") >= 0 {
    		// If the Go version is at least 1.17, annotate all modules with their
    		// 'go' version directives.
    		includeGoVersions = true
    	}
    
    	var vendorMods []module.Version
    	for m := range isExplicit {
    		vendorMods = append(vendorMods, m)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

            }
        }
    
        public void disallowChangesAndFinalizeOnNextGet() {
            disallowChanges();
            finalizeOnNextGet();
        }
    
        public abstract boolean isExplicit();
    
        /**
         * Retrieves the current convention.
         */
        public abstract S convention();
    
        /**
         * Marks this value as being explicitly set with
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/DefaultFeatureFlags.java

                // Can explicitly disable property using system property
                Option.Value<Boolean> option = options.getOption(new InternalFlag(flag.getSystemPropertyName()));
                if (option.isExplicit() || option.get()) {
                    return option.get();
                }
            }
            return enabled.contains(flag);
        }
    
        @Override
        public void enable(FeatureFlag flag) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/configuration/DefaultBuildFeatures.java

            return new DefaultBuildFeature(isRequested, isActive);
        }
    
        private static ProviderInternal<Boolean> getRequestedProvider(Option.Value<Boolean> optionValue) {
            return Providers.ofNullable(optionValue.isExplicit() ? optionValue.get() : null);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 09:05:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

            init(initialValue, initialValue);
        }
    
        @Override
        public boolean isFinalized() {
            return state.isFinalized();
        }
    
        protected boolean isExplicit() {
            return state.isExplicit();
        }
    
        @Override
        public boolean calculatePresence(ValueConsumer consumer) {
            try (EvaluationContext.ScopeContext context = openScope()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

        }
    
        private Configurer getConfigurer() {
            return new Configurer();
        }
    
        @VisibleForTesting
        protected boolean isExplicit() {
            return valueState.isExplicit();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultBuildTreeModelControllerServices.kt

            // Isolated projects also implies configuration cache
            if (startParameter.isolatedProjects.get() && !startParameter.configurationCache.get()) {
                if (startParameter.configurationCache.isExplicit) {
                    throw GradleException("The configuration cache cannot be disabled when isolated projects is enabled.")
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/action/BuildActionSerializer.java

                }
            }
    
            @Override
            public void write(Encoder encoder, Option.Value<Boolean> value) throws Exception {
                if (value.isExplicit() && value.get()) {
                    encoder.writeByte(EXPLICIT_TRUE);
                } else if (value.isExplicit()) {
                    encoder.writeByte(EXPLICIT_FALSE);
                } else if (value.get()) {
                    encoder.writeByte(IMPLICIT_TRUE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 30.1K bytes
    - Viewed (0)
  10. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuild.java

        private final Path identityPath;
        private final BuildDefinition buildDefinition;
        private final boolean isImplicit;
        private final IncludedBuildImpl model;
    
        public DefaultIncludedBuild(
            BuildIdentifier buildIdentifier,
            BuildDefinition buildDefinition,
            boolean isImplicit,
            BuildState owner,
            BuildTreeState buildTree,
            Instantiator instantiator
        ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 06 15:09:14 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top