Package net.jqwik.api.lifecycle
Annotationsschnittstelle AddLifecycleHook
@Target({ANNOTATION_TYPE,METHOD,TYPE})
@Retention(RUNTIME)
@Repeatable(LifecycleHooks.class)
@Inherited
@API(status=MAINTAINED,
since="1.4.0")
public @interface AddLifecycleHook
Use to register a concrete lifecycle hook implementation
for a test element -- a container class or a property method. More than one
hook can be registered.
This annotation can be used as meta annotation for self-made ones.
-
Erforderliche Elemente - Übersicht
-
Optionale Elemente - Übersicht
Modifizierer und TypOptionales ElementBeschreibungOverride the propagation mode specified in LifecycleHook.propagateTo().
-
Elementdetails
-
value
Class<? extends LifecycleHook> value- Gibt zurück:
- Concrete lifecycle hook implementation class
-
propagateTo
PropagationMode propagateToOverride the propagation mode specified in LifecycleHook.propagateTo().- Gibt zurück:
- Propagation mode enum value
- Standard:
NOT_SET
-