Interface PropertySupplier<T,​R>

    • Method Detail

      • readValuesToSet

        default String readValuesToSet​(R value)
        Converts object to string value of the property
        Parameters:
        value - to set as a value of the property
        Returns:
        value converted to String
      • accept

        default void accept​(R value)
        Sets a new value of some system property.

        WARNING!!! When there are some additional PropertySource's and they provide a value of the same property then the accepted value is ignored in favor of externally provided.
        Specified by:
        accept in interface Consumer<T>
        Parameters:
        value - is the new value
      • getName

        default String getName()
      • get

        default T get()
        Specified by:
        get in interface Supplier<T>
      • returnIfNull

        default T returnIfNull()