Package net.jqwik.api.lifecycle
Interface ResolveParameterHook.ParameterSupplier
- 
- Enclosing interface:
- ResolveParameterHook
 - 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 static interface ResolveParameterHook.ParameterSupplierA functional interface specialized on providing parameters to property methods and to annotated lifecycle methods.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectget(java.util.Optional<TryLifecycleContext> optionalTry)Supply the requested parameter.
 
- 
- 
- 
Method Detail- 
getjava.lang.Object get(java.util.Optional<TryLifecycleContext> optionalTry) Supply the requested parameter. For the sameoptionalTrythe same object must be returned if this object has state that could change its behaviour.- Parameters:
- optionalTry- Contains a TryLifecycleContext instance if used to supply a property method's parameter. Otherwise it's empty.
- Returns:
- the freshly generated object or one stored for the same context
 
 
- 
 
-