- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for FeatureFlag (0.24 sec)
-
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/FeatureFlag.java
*/ package org.gradle.internal.buildoption; import javax.annotation.Nullable; /** * A feature flag. Can be enabled via the Settings object or optionally via a system property. */ public interface FeatureFlag extends Option { @Nullable String getSystemPropertyName();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 895 bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/DefaultFeatureFlagsTest.groovy
def "flag is disabled by default"() { def flag = Stub(FeatureFlag) flag.systemPropertyName >> null expect: !flags.isEnabled(flag) !flags.isEnabledWithApi(flag) } def "flag with associated system property is disabled by default"() { def flag = Stub(FeatureFlag) flag.systemPropertyName >> "prop" expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/DefaultFeatureFlags.java
import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; public class DefaultFeatureFlags implements FeatureFlags { private final Set<FeatureFlag> enabled = new CopyOnWriteArraySet<FeatureFlag>(); private final InternalOptions options; private final FeatureFlagListener broadcaster; public DefaultFeatureFlags(InternalOptions options, ListenerManager listenerManager) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/FeatureFlags.java
*/ @ServiceScope(Scope.BuildTree.class) public interface FeatureFlags { boolean isEnabled(FeatureFlag flag); /** * Explicitly enable the given flag. The resulting flag status may still be overridden. */ void enable(FeatureFlag flag); /** * Checks if the given flag was enabled with {@link #enable(FeatureFlag)}. This method doesn't take overrides into account. * @param flag the flag to check
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/FeatureFlagListener.java
import org.gradle.internal.service.scopes.EventScope; import org.gradle.internal.service.scopes.Scope; @EventScope(Scope.BuildTree.class) public interface FeatureFlagListener { void flagRead(FeatureFlag flag);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 876 bytes - Viewed (0) -
cmd/kubelet/app/plugins_providers.go
// if the plugin unregister feature flag is set if featureGate.Enabled(pluginInfo.pluginUnregisterFeature) { klog.InfoS("Skipped registration of plugin since feature flag is enabled", "pluginName", inTreePluginName, "featureFlag", pluginInfo.pluginUnregisterFeature) return plugins, nil } plugins = append(plugins, pluginInfo.pluginProbeFunction()...) return plugins, nil } type pluginInfo struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/build.gradle.kts
testImplementation(libs.kotlinCoroutines) testImplementation(libs.awaitility) integTestImplementation(project(":build-option")) { because("KotlinSettingsScriptIntegrationTest makes uses of FeatureFlag") } integTestImplementation(project(":language-groovy")) { because("ClassBytesRepositoryTest makes use of Groovydoc task.") } integTestImplementation(project(":internal-testing"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 22:44:42 UTC 2024 - 4.6K bytes - Viewed (0)