Interface AddOnValueProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> java.util.Optional<T> getValue​(java.lang.String key, java.lang.Class<T> type)
      Returns an Optional for the given key that contains the value if present.
    • Method Detail

      • getValue

        <T> java.util.Optional<T> getValue​(java.lang.String key,
                                           java.lang.Class<T> type)
        Returns an Optional for the given key that contains the value if present.
        Parameters:
        key - the key to retrieve the value for
        type - the expected type of the value
        Returns:
        an Optional that either contains the value or is empty if key or type don't match