Package org.instancio
Interface ValueOfOriginDestinationPredicate
- All Superinterfaces:
Assignment
An assigment containing origin and destination selectors,
and a predicate that the origin value must satisfy
for the assignment to be applied.
- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescription<T> Assignment
A predicate that must be satisfied by the value matched by the origin selector.
-
Method Details
-
when
A predicate that must be satisfied by the value matched by the origin selector.- Type Parameters:
T
- the type of the value matched by the origin selector- Parameters:
predicate
- to check the origin value against- Returns:
- an assignment
- Since:
- 3.0.0
-