public class Random extends Lazy
Generate random strings based on given pattern
This is a Helper class, users of tests will access methods:
Lazy.random(Object)
and Lazy.get(Object)
)
successors, value
Modifier | Constructor and Description |
---|---|
protected |
Random(Object pattern)
Creates a random string based on given pattern.
|
protected |
Random(Object pattern,
Class<?> clazz)
Creates a random object of given type
|
Modifier and Type | Method and Description |
---|---|
Object |
generate()
create a random value, that is created once.
|
Class<?> |
getClazz() |
get, getSuccessors, getValue, plus, plus, random, random, setSuccessors, setValue
protected Random(Object pattern)
pattern
- format of patternorg.identityconnectors.contract.data.RandomGenerator#generate(String)}
Copyright © 2022. All rights reserved.