Package net.jqwik.api.lifecycle
Schnittstelle RegistrarHook.Registrar
- Umschließende Schnittstelle:
RegistrarHook
public static interface RegistrarHook.Registrar
A short-lived object used for registering concrete hook implementation classes.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault void
register
(Class<? extends LifecycleHook> hook) Register a concrete hook implementation with its default PropagationMode.void
register
(Class<? extends LifecycleHook> hook, PropagationMode propagationMode) Register a concrete hook implementation.
-
Methodendetails
-
register
Register a concrete hook implementation.- Parameter:
hook
- a concrete hook implementation classpropagationMode
- propagation enum
-
register
Register a concrete hook implementation with its default PropagationMode.- Parameter:
hook
- a concrete hook implementation class
-