Package org.instancio.generator.specs
Interface EnumSpec<E extends Enum<E>>
- Type Parameters:
E- enum type
- All Superinterfaces:
AsGeneratorSpec<E>,EnumGeneratorSpec<E>,GeneratorSpec<E>,NullableGeneratorSpec<E>,Supplier<E>,ValueSpec<E>
Spec for generating enums.
- Since:
- 2.12.0
-
Method Summary
Methods inherited from interface org.instancio.generator.specs.AsGeneratorSpec
as, asString
-
Method Details
-
excluding
-
nullable
Specifies that anullvalue can be generated
-