Interface IConfigurationSource

All Superinterfaces:
IConfigurationValueProvider
All Known Subinterfaces:
IConfigurationSourceResource, IIterableConfigurationSource
All Known Implementing Classes:
AbstractConfigurationSource, AbstractConfigurationSourceResource, ConfigurationSourceEnvVar, ConfigurationSourceFunction, ConfigurationSourceProperties, ConfigurationSourceSystemProperty

public interface IConfigurationSource extends IConfigurationValueProvider
An abstract configuration source.
Author:
Philip Helger
  • Method Details

    • getSourceType

      @Nonnull EConfigSourceType getSourceType()
      Returns:
      The configuration source type. Never null.
    • getPriority

      int getPriority()
      Returns:
      THe higher the priority the earlier it is checked. Values between Integer.MIN_VALUE and Integer.MAX_VALUE are allowed.
    • isInitializedAndUsable

      boolean isInitializedAndUsable()
      Returns:
      true if the file was successfully initialized and can be used as a configuration source.