Package net.jqwik.api.state
Klasse Action.JustTransform<S extends @Nullable Object>
java.lang.Object
net.jqwik.api.state.Action.JustTransform<S>
- Alle implementierten Schnittstellen:
Action<S>
,Action.Independent<S>
public abstract static class Action.JustTransform<S extends @Nullable Object>
extends Object
implements Action.Independent<S>
Subclass if you want to implement an independent action that simply transforms the given state.
If you rather want to declaratively specify an action start with Action.just(Transformer), Action.when(Predicate) or Action.builder().
For actions whose state transformation depends on the state, you have to implement either Action.Dependent or Action.Independent.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen net.jqwik.api.state.Action
Action.Dependent<S extends @Nullable Object>, Action.Independent<S extends @Nullable Object>, Action.JustMutate<S extends @Nullable Object>, Action.JustTransform<S extends @Nullable Object>
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract S
Return an arbitrary for transformers that does not depend on the previous state.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden net.jqwik.api.state.Action
precondition
-
Konstruktordetails
-
JustTransform
public JustTransform()
-
-
Methodendetails
-
transformer
Beschreibung aus Schnittstelle kopiert:Action.Independent
Return an arbitrary for transformers that does not depend on the previous state.In addition to performing a state transformation the transforming function can also check or assert post-conditions and invariants that should hold when doing the transformation.
- Angegeben von:
transformer
in SchnittstelleAction.Independent<S extends @Nullable Object>
- Gibt zurück:
- an arbitrary of type Transformer
.
-
transform
-