Module dev.metaschema.core
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 TypeMethodDescriptionGet the default value of the configuration feature.getName()Get the name of the configuration feature.Get the class of the feature's value.
-
Method Details
-
getName
Get the name of the configuration feature.- Returns:
- the name
-
getDefault
Get the default value of the configuration feature.- Returns:
- the default value
-
getValueClass
Get the class of the feature's value.- Returns:
- the value's class
-