Interface IConfigurationFeature<V>

Type Parameters:
V - the value type of the feature
All Known Implementing Classes:
AbstractConfigurationFeature, DeserializationFeature, MetapathEvaluationFeature, SchemaGenerationFeature, SerializationFeature, ValidationFeature

public interface IConfigurationFeature<V>
The common interface that all configuration features must implement.

This approach is inspired by the configuration implementation in the Jackson databind library.

  • Method Summary

    Modifier and Type
    Method
    Description
    Get the default value of the configuration feature.
    Get the name of the configuration feature.
    Get the class of the feature's value.
  • Method Details

    • getName

      @NonNull String getName()
      Get the name of the configuration feature.
      Returns:
      the name
    • getDefault

      @NonNull V getDefault()
      Get the default value of the configuration feature.
      Returns:
      the default value
    • getValueClass

      @NonNull Class<V> getValueClass()
      Get the class of the feature's value.
      Returns:
      the value's class