Class MessageListAttachmentsFeatureFlagProvider

java.lang.Object
com.vaadin.flow.component.messages.MessageListAttachmentsFeatureFlagProvider
All Implemented Interfaces:
FeatureFlagProvider, Serializable

public class MessageListAttachmentsFeatureFlagProvider extends Object implements FeatureFlagProvider
Provides the MessageList attachments feature flag for enabling attachments in MessageListItem.
Author:
Vaadin Ltd
See Also:
  • Field Details

    • FEATURE_FLAG_ID

      public static final String FEATURE_FLAG_ID
      The feature flag ID for MessageList attachments.
      See Also:
    • MESSAGE_LIST_ATTACHMENTS

      public static final Feature MESSAGE_LIST_ATTACHMENTS
      The MessageList attachments feature flag. When enabled, allows use of attachments in MessageListItem.
  • Constructor Details

    • MessageListAttachmentsFeatureFlagProvider

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