Interface ComposedConfiguredFeature

All Superinterfaces:
ConfiguredFeature, Keyed, Registerable<ComposedConfiguredFeature>, Wrapper

@NullMarked @AsOf("3.0.0") public interface ComposedConfiguredFeature extends ConfiguredFeature, Registerable<ComposedConfiguredFeature>
A configured feature composed of a built-in FeatureType algorithm and a matching FeatureConfiguration.
Since:
3.0.0
See Also:
  • Method Details

    • type

      @AsOf("3.0.0") FeatureType type()
      The built-in feature type algorithm this configured feature composes.
      Returns:
      the feature type
      Since:
      3.0.0
    • config

      @AsOf("3.0.0") FeatureConfiguration config()
      The configuration applied to the feature type.
      Returns:
      the feature configuration
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default ComposedConfiguredFeature.Builder toBuilder()
      Converts this composed configured feature to a builder.
      Returns:
      a builder with the same values as this composed configured feature
      Since:
      3.0.0
    • of

      Creates a new composed configured feature.
      Parameters:
      key - the resource key of the configured feature, or null if not present
      type - the built-in feature type
      config - the configuration for the feature type
      Returns:
      a new composed configured feature
      Since:
      3.0.0
    • of

      Creates a new composed configured feature without a resource key.
      Parameters:
      type - the built-in feature type
      config - the configuration for the feature type
      Returns:
      a new composed configured feature
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static ComposedConfiguredFeature.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0