Class SwitchFeatureFlagProvider

java.lang.Object
com.vaadin.flow.component.checkbox.SwitchFeatureFlagProvider
All Implemented Interfaces:
FeatureFlagProvider, Serializable

public class SwitchFeatureFlagProvider extends Object implements FeatureFlagProvider
Provides the Switch component feature flag, gating the experimental Switch component.
Since:
25.3
Author:
Vaadin Ltd
See Also:
  • Field Details

    • SWITCH_COMPONENT

      public static final Feature SWITCH_COMPONENT
      The Switch component feature flag. When enabled, allows use of the experimental Switch component.
  • Constructor Details

    • SwitchFeatureFlagProvider

      public SwitchFeatureFlagProvider()
  • Method Details

    • getFeatures

      public List<Feature> getFeatures()
      Description copied from interface: FeatureFlagProvider
      Returns the list of features provided by this module.

      The returned list should be immutable and not change during the lifetime of the application.

      Specified by:
      getFeatures in interface FeatureFlagProvider
      Returns:
      list of features, never null