Class AbstractConfigurationSource<A extends ConfigurationQuery<A,B>,B extends ExecutableConfigurationQuery<A,B>,C extends ListConfigurationQuery<C>,D>

java.lang.Object
io.inverno.mod.configuration.AbstractConfigurationSource<A,B,C,D>
Type Parameters:
A - source specific configuration query type
B - source specific executable configuration query type
C - source specific list configuration query type
D - raw configuration value type
All Implemented Interfaces:
ConfigurationSource<A,B,C>
Direct Known Subclasses:
AbstractConfigurableConfigurationSource, AbstractHashConfigurationSource, AbstractPropertiesConfigurationSource

public abstract class AbstractConfigurationSource<A extends ConfigurationQuery<A,B>,B extends ExecutableConfigurationQuery<A,B>,C extends ListConfigurationQuery<C>,D> extends Object implements ConfigurationSource<A,B,C>

Base implementation for ConfigurationSource.

Since:
1.0
Author:
Jeremy Kuhn
See Also:
  • Field Details

  • Constructor Details

    • AbstractConfigurationSource

      public AbstractConfigurationSource(SplittablePrimitiveDecoder<D> decoder)

      Creates a configuration source with the specified decoder.

      Parameters:
      decoder - a splittable primitive decoder
      Throws:
      NullPointerException - if the specified decoder is null
  • Method Details