Interface FeatureRegistry

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default <F extends Feature>
      boolean
      enables​(F feature)
      Determines whether the specified feature is enabled by the configured stability level of the feature registry.
      default Stability getStability()
      Returns the feature stability supported by this feature registry.
    • Method Detail

      • getStability

        default 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.