Package com.vaadin.experimental
Interface FeatureFlagProvider
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CoreFeatureFlagProvider,FlowComponentsFeatureFlagProvider,HillaFeatureFlagProvider
Service provider interface for modules to declare their feature flags.
Implementations should be registered via the Java Service Provider Interface
mechanism by creating a file named
META-INF/services/com.vaadin.experimental.FeatureFlagProvider
containing the fully qualified class name of the implementation.
This allows each module to define its own feature flags that will only be loaded when the module is on the classpath.
- Since:
- 25.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of features provided by this module.
-
Method Details
-
getFeatures
Returns the list of features provided by this module.The returned list should be immutable and not change during the lifetime of the application.
- Returns:
- list of features, never null
-