Class AIComponentsFeatureFlagProvider

java.lang.Object
com.vaadin.flow.component.ai.AIComponentsFeatureFlagProvider
All Implemented Interfaces:
FeatureFlagProvider, Serializable

public class AIComponentsFeatureFlagProvider extends Object implements FeatureFlagProvider
Provides the AI components feature flag for AI-related features such as AIOrchestrator, modular upload components, and MessageListItem attachments.
Author:
Vaadin Ltd
See Also:
  • Field Details

    • FEATURE_FLAG_ID

      public static final String FEATURE_FLAG_ID
      The feature flag ID for AI components.
      See Also:
    • AI_COMPONENTS

      public static final Feature AI_COMPONENTS
      The AI components feature flag. When enabled, allows use of AI-related features including AIOrchestrator, modular upload components, and MessageListItem attachments.
  • Constructor Details

    • AIComponentsFeatureFlagProvider

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