Package net.jqwik.api.lifecycle
Annotation Type PerProperty
-
@Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @API(status=EXPERIMENTAL, since="1.2.4") public @interface PerProperty
Annotate property methods of a container class with@PerProperty
if you want to have some lifecycle control over this property alone.If you want to control the lifecycle of all property methods use BeforeProperty or AfterProperty.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends PerProperty.Lifecycle>
value
Return a class that implements PerProperty.Lifecycle
-
-
-
Element Detail
-
value
java.lang.Class<? extends PerProperty.Lifecycle> value
Return a class that implements PerProperty.Lifecycle- Returns:
- An implementation of PerProperty.Lifecycle
-
-