Class RandomProducer
- java.lang.Object
-
- com.netflix.spinnaker.kork.test.mimicker.producers.RandomProducer
-
public class RandomProducer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RandomProducer(java.security.SecureRandom random)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.Stringalpha(int boundsMin, int boundsMax)@NotNull java.lang.Stringalphanumeric(int length)@NotNull java.lang.Stringalphanumeric(int boundsMin, int boundsMax)<T> Telement(@NotNull java.util.List<T> list)intintValue(int boundsMin, int boundsMax)longlongValue(long boundsMin, long boundsMax)@NotNull java.lang.Stringnumeric(int length)booleantrueOrFalse()@NotNull java.lang.Stringuuid()
-
-
-
Method Detail
-
trueOrFalse
public boolean trueOrFalse()
-
element
@NotNull public <T> T element(@NotNull @NotNull java.util.List<T> list)
-
alpha
@NotNull public @NotNull java.lang.String alpha(int boundsMin, int boundsMax)
-
alphanumeric
@NotNull public @NotNull java.lang.String alphanumeric(int boundsMin, int boundsMax)
-
alphanumeric
@NotNull public @NotNull java.lang.String alphanumeric(int length)
-
numeric
@NotNull public @NotNull java.lang.String numeric(int length)
-
intValue
public int intValue(int boundsMin, int boundsMax)
-
longValue
public long longValue(long boundsMin, long boundsMax)
-
uuid
@NotNull public @NotNull java.lang.String uuid()
-
-