@API(status=MAINTAINED, since="1.4.0") @FunctionalInterface public interface RegistrarHook extends LifecycleHook
Modifier and Type | Interface and Description |
---|---|
static interface |
RegistrarHook.Registrar
A short-lived object used for registering concrete hook implementation classes.
|
Modifier and Type | Method and Description |
---|---|
void |
registerHooks(RegistrarHook.Registrar registrar)
This method will be called during hook registration, i.e. before any test has been started.
|
appliesTo, propagateTo
void registerHooks(RegistrarHook.Registrar registrar)
registrar
- the registrar to use for registering lifecycle hooks