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_NOTHING
Von Schnittstelle geerbte Felder net.jqwik.api.lifecycle.BeforeContainerHook
DO_NOTHING
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault void
afterContainer
(ContainerLifecycleContext context) The code of this method will be run exactly once after all property methods and child containers.default int
The higher the value, the closer to the actual property methods, i.e. the earlier it will be run.default void
beforeContainer
(ContainerLifecycleContext context) The code of this method will be run exactly once before any property method or child container.default int
The higher the value, the closer to the actual property methods, i.e. the later it will be run.default int
Determine both beforeContainerProximity() and afterContainerProximity() in one go.Von Schnittstelle geerbte Methoden net.jqwik.api.lifecycle.AfterContainerHook
compareTo
Von Schnittstelle geerbte Methoden net.jqwik.api.lifecycle.BeforeContainerHook
compareTo
Von Schnittstelle geerbte Methoden net.jqwik.api.lifecycle.LifecycleHook
appliesTo, propagateTo
-
Methodendetails
-
beforeContainer
Beschreibung aus Schnittstelle kopiert:BeforeContainerHook
The code of this method will be run exactly once before any property method or child container.- Angegeben von:
beforeContainer
in SchnittstelleBeforeContainerHook
- Parameter:
context
- The container's context object- Siehe auch:
-
beforeContainerProximity
default int beforeContainerProximity()Beschreibung aus Schnittstelle kopiert:BeforeContainerHook
The 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:
beforeContainerProximity
in SchnittstelleBeforeContainerHook
- Gibt zurück:
- an integer value
- Siehe auch:
-
afterContainer
Beschreibung aus Schnittstelle kopiert:AfterContainerHook
The code of this method will be run exactly once after all property methods and child containers.- Angegeben von:
afterContainer
in SchnittstelleAfterContainerHook
- Parameter:
context
- The container's context object- Siehe auch:
-
afterContainerProximity
default int afterContainerProximity()Beschreibung aus Schnittstelle kopiert:AfterContainerHook
The 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:
afterContainerProximity
in SchnittstelleAfterContainerHook
- Gibt zurück:
- an integer value
- Siehe auch:
-
proximity
default int proximity()Determine both beforeContainerProximity() and afterContainerProximity() in one go.
-