Class Random
- java.lang.Object
-
- org.identityconnectors.contract.data.groovy.Lazy
-
- org.identityconnectors.contract.data.groovy.Random
-
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)
andLazy.get(Object)
)- Author:
- Zdenek Louzensky
-
-
Field Summary
-
Fields inherited from class org.identityconnectors.contract.data.groovy.Lazy
successors, value
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
generate()
create a random value, that is created once.Class<?>
getClazz()
-
Methods inherited from class org.identityconnectors.contract.data.groovy.Lazy
get, getSuccessors, getValue, plus, plus, random, random, setSuccessors, setValue
-
-
-
-
Constructor Detail
-
Random
protected Random(Object pattern)
Creates a random string based on given pattern.- Parameters:
pattern
- format of pattern
-
-