Interface FeatureRegistry

    • Method Detail

      • getStability

        Stability getStability()
        Returns the feature stability supported by this feature registry.
        Returns:
        a stability level
      • enables

        default <F extends Feature> boolean enables​(F feature)
        Determines whether the specified feature is enabled by the configured stability level of the feature registry.
        Specified by:
        enables in interface FeatureFilter
        Type Parameters:
        F - the feature type
        Parameters:
        feature - a feature
        Returns:
        true, if the specified feature is enabled, false otherwise.