Package net.jqwik.api.lifecycle
Annotation Type AfterContainer
-
@Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @API(status=MAINTAINED, since="1.4.0") public @interface AfterContainerAnnotate static methods of a container class with@AfterContainerto have them run exactly once after all of its properties or any lifecycle methods from embedded containers have been run.@AfterContainermethods must bestatic voidand they cannot have parameters.@AfterContainermethods are inherited from superclasses and implemented interfaces as long as they are not hidden or overridden.The execution order of multiple
@AfterContainermethods within the same container is not guaranteed and might change.- See Also:
BeforeContainer