Package net.jqwik.api.lifecycle
Interface RegistrarHook
- 
- All Superinterfaces:
- LifecycleHook
 - Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
 @API(status=MAINTAINED, since="1.4.0") @FunctionalInterface public interface RegistrarHook extends LifecycleHookUse this hook if you want to apply several hook implementations that belong together but that cannot be implemented in a single class, e.g. because the same hook type must be added with different proximity or different propagation.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceRegistrarHook.RegistrarA short-lived object used for registering concrete hook implementation classes.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregisterHooks(RegistrarHook.Registrar registrar)This method will be called during hook registration, i.e. before any test has been started.- 
Methods inherited from interface net.jqwik.api.lifecycle.LifecycleHookappliesTo, propagateTo
 
- 
 
- 
- 
- 
Method Detail- 
registerHooksvoid registerHooks(RegistrarHook.Registrar registrar) This method will be called during hook registration, i.e. before any test has been started. It allows to register as many other hook implementations as necessary.- Parameters:
- registrar- the registrar to use for registering lifecycle hooks
 
 
- 
 
-