@API(status=EXPERIMENTAL,
since="1.2.5")
@FunctionalInterface
public static interface ResolveParameterHook.ParameterSupplier
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.util.Optional<TryLifecycleContext> optionalTry)
Supply the requested parameter.
|
java.lang.Object get(java.util.Optional<TryLifecycleContext> optionalTry)
optionalTry
the same
object must be returned if this object has state that could change its behaviour.optionalTry
- Contains a TryLifecycleContext instance if used to supply a property's parameter.
Otherwise it's empty.