Package org.jeasy.random.annotation
Annotation Type Randomizer
-
@Retention(RUNTIME) @Target(FIELD) public @interface RandomizerAnnotation to mark a field to be populated with a random value using the givenRandomizer.- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends Randomizer<?>>valueTheRandomizerto use to generate the random value for this field.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description RandomizerArgument[]args
-
-
-
Element Detail
-
value
java.lang.Class<? extends Randomizer<?>> value
TheRandomizerto use to generate the random value for this field.- Returns:
- the randomizer's class
-
-
-
args
RandomizerArgument[] args
- Default:
- {}
-
-