Interface EnvironmentPropertyRunFunction<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.
Functional interface for defining the behaviour of a functional environment property.
-
Method Summary
Modifier and TypeMethodDescriptionrun(EnvironmentContext context, T propertyValue) Runs the property's behaviour.
-
Method Details
-
run
Runs the property's behaviour.- Parameters:
context- the context the property can use in its behaviourpropertyValue- the property's currently stored value- Returns:
- the value the property should store after the behaviour has run
-