Class ModularUploadFeatureFlagProvider

java.lang.Object
com.vaadin.flow.component.upload.ModularUploadFeatureFlagProvider
All Implemented Interfaces:
FeatureFlagProvider, Serializable

public class ModularUploadFeatureFlagProvider extends Object implements FeatureFlagProvider
Provides the modular upload feature flag for UploadManager, UploadButton, UploadFileList, and UploadDropZone components.
Author:
Vaadin Ltd
See Also:
  • Field Details

    • FEATURE_FLAG_ID

      public static final String FEATURE_FLAG_ID
      The feature flag ID for modular upload components.
      See Also:
    • MODULAR_UPLOAD

      public static final Feature MODULAR_UPLOAD
      The modular upload feature flag. When enabled, allows use of UploadManager, UploadButton, UploadFileList, and UploadDropZone components.
  • Constructor Details

    • ModularUploadFeatureFlagProvider

      public ModularUploadFeatureFlagProvider()
  • 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