Package net.jqwik.api.lifecycle
Schnittstelle AroundContainerHook
- Alle Superschnittstellen:
AfterContainerHook,BeforeContainerHook,LifecycleHook
@API(status=MAINTAINED,
since="1.4.0")
public interface AroundContainerHook
extends BeforeContainerHook, AfterContainerHook
An aggregate interface of BeforeContainerHook and AfterContainerHook
for convenience.
-
Feldübersicht
Von Schnittstelle geerbte Felder net.jqwik.api.lifecycle.AfterContainerHook
DO_NOTHINGVon Schnittstelle geerbte Felder net.jqwik.api.lifecycle.BeforeContainerHook
DO_NOTHING -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault voidafterContainer(ContainerLifecycleContext context) The code of this method will be run exactly once after all property methods and child containers.default intThe higher the value, the closer to the actual property methods, i.e. the earlier it will be run.default voidbeforeContainer(ContainerLifecycleContext context) The code of this method will be run exactly once before any property method or child container.default intThe higher the value, the closer to the actual property methods, i.e. the later it will be run.default intDetermine both beforeContainerProximity() and afterContainerProximity() in one go.Von Schnittstelle geerbte Methoden net.jqwik.api.lifecycle.AfterContainerHook
compareToVon Schnittstelle geerbte Methoden net.jqwik.api.lifecycle.BeforeContainerHook
compareToVon Schnittstelle geerbte Methoden net.jqwik.api.lifecycle.LifecycleHook
appliesTo, propagateTo
-
Methodendetails
-
beforeContainer
Beschreibung aus Schnittstelle kopiert:BeforeContainerHookThe code of this method will be run exactly once before any property method or child container.- Angegeben von:
beforeContainerin SchnittstelleBeforeContainerHook- Parameter:
context- The container's context object- Siehe auch:
-
beforeContainerProximity
default int beforeContainerProximity()Beschreibung aus Schnittstelle kopiert:BeforeContainerHookThe higher the value, the closer to the actual property methods, i.e. the later it will be run. Default value is 0.Values greater than -10 will make it run after methods annotated with BeforeContainer, values smaller than -10 will make it run before.
- Angegeben von:
beforeContainerProximityin SchnittstelleBeforeContainerHook- Gibt zurück:
- an integer value
- Siehe auch:
-
afterContainer
Beschreibung aus Schnittstelle kopiert:AfterContainerHookThe code of this method will be run exactly once after all property methods and child containers.- Angegeben von:
afterContainerin SchnittstelleAfterContainerHook- Parameter:
context- The container's context object- Siehe auch:
-
afterContainerProximity
default int afterContainerProximity()Beschreibung aus Schnittstelle kopiert:AfterContainerHookThe higher the value, the closer to the actual property methods, i.e. the earlier it will be run. Default value is 0.Values greater than -10 will make it run before methods annotated with AfterContainer, values smaller than -10 will make it run after.
- Angegeben von:
afterContainerProximityin SchnittstelleAfterContainerHook- Gibt zurück:
- an integer value
- Siehe auch:
-
proximity
default int proximity()Determine both beforeContainerProximity() and afterContainerProximity() in one go.
-