Interface IConfigurationFeature<V>
-
- Type Parameters:
V
- the value type of the feature
- All Known Implementing Classes:
AbstractConfigurationFeature
,MetapathEvaluationFeature
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
getDefault()
Get the default value of the configuration feature.Class<V>
getValueClass()
Get the class of the feature's value.
-
-
-
Method Detail
-
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
-
-