Package 

Interface ConfigSource

  • All Implemented Interfaces:

    
    public interface ConfigSource
    
                        

    A ConfigSource is what is used to retrieve configuration values from some location.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Function1<String, Object> getterFor(KType type) Given a type, return a function which takes in a configuration property key (aka a key 'name') and returns the value of the property at the given name as the type referred to by type.
      abstract String getName() A name for this ConfigSource to give extra context in the event of errors
      String getDescription()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail