Package net.jqwik.api.lifecycle
Interface RegistrarHook.Registrar
-
- Enclosing interface:
- RegistrarHook
public static interface RegistrarHook.Registrar
A short-lived object used for registering concrete hook implementation classes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
register(java.lang.Class<? extends LifecycleHook> hook)
Register a concrete hook implementation with its default PropagationMode.void
register(java.lang.Class<? extends LifecycleHook> hook, PropagationMode propagationMode)
Register a concrete hook implementation.
-
-
-
Method Detail
-
register
void register(java.lang.Class<? extends LifecycleHook> hook, PropagationMode propagationMode)
Register a concrete hook implementation.- Parameters:
hook
- a concrete hook implementation classpropagationMode
- propagation enum
-
register
default void register(java.lang.Class<? extends LifecycleHook> hook)
Register a concrete hook implementation with its default PropagationMode.- Parameters:
hook
- a concrete hook implementation class
-
-