Interface DynamicFieldReader


public interface DynamicFieldReader
An interface which captures the semantics and patterns of reading field values that are rendered functionally. This interface is meant to help standardize the user interfaces for reading configuration and fields across the NB codebase. See also StaticFieldReader and EnvironmentReader
  • Method Summary

    Modifier and Type Method Description
    <T> T get​(java.lang.String field, long input)  
    <V> java.util.function.LongFunction<V> getAsFunctionOr​(java.lang.String name, V defaultValue)  
    boolean isDefinedDynamic​(java.lang.String field)  
  • Method Details

    • isDefinedDynamic

      boolean isDefinedDynamic​(java.lang.String field)
    • get

      <T> T get​(java.lang.String field, long input)
    • getAsFunctionOr

      <V> java.util.function.LongFunction<V> getAsFunctionOr​(java.lang.String name, V defaultValue)