Class AbstractConfigurationFeature<V>

java.lang.Object
dev.metaschema.core.configuration.AbstractConfigurationFeature<V>
Type Parameters:
V - the feature value Java type
All Implemented Interfaces:
IConfigurationFeature<V>
Direct Known Subclasses:
DeserializationFeature, MetapathEvaluationFeature, SchemaGenerationFeature, SerializationFeature, ValidationFeature

public abstract class AbstractConfigurationFeature<V> extends Object implements IConfigurationFeature<V>
Provides a complete, abstract implementation of a generalized feature. Feature implementations can extend this class the implement configuration sets for a given purpose.
  • Constructor Details

    • AbstractConfigurationFeature

      protected AbstractConfigurationFeature(@NonNull String name, @NonNull Class<V> valueClass, @NonNull V defaultValue)
      Construct a new feature with a default value.
      Parameters:
      name - the name of the feature
      valueClass - the class of the feature's value
      defaultValue - the value's default
  • Method Details