Interface EnvironmentPropertyGetterFunction<T>

Type Parameters:
T - the type of value the property carries
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface EnvironmentPropertyGetterFunction<T>
Functional interface for defining the getter logic of a functional environment property.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(EnvironmentContext context, T propertyValue)
    Returns the property's value.
  • Method Details

    • get

      T get(EnvironmentContext context, T propertyValue)
      Returns the property's value.
      Parameters:
      context - the context the property can use in its getter logic
      propertyValue - the property's currently stored value
      Returns:
      the value the property should report