@API(status=MAINTAINED,
since="1.4.0")
public enum FixedSeedMode
extends java.lang.Enum<FixedSeedMode>
Property.seed() specified. It can be set in
Property.whenFixedSeed() for any property method. It can be set
globally using the property jqwik.seeds.whenfixed.
This may be useful, for instance, to help prevent a build server from using a fixed seed that may have been accidentally committed.
If it is not set explicitly mode ALLOW will be used.
Property| Modifier and Type | Method and Description |
|---|---|
static FixedSeedMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FixedSeedMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FixedSeedMode ALLOW
public static final FixedSeedMode WARN
public static final FixedSeedMode FAIL
@API(status=INTERNAL) public static final FixedSeedMode NOT_SET
public static FixedSeedMode[] values()
for (FixedSeedMode c : FixedSeedMode.values()) System.out.println(c);
public static FixedSeedMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null