Class RandomLookup
java.lang.Object
com.evolveum.midpoint.init.interpol.RandomLookup
- All Implemented Interfaces:
org.apache.commons.configuration2.interpol.Lookup
public class RandomLookup
extends Object
implements org.apache.commons.configuration2.interpol.Lookup
Variable is in the form
- (empty)
- number
- number:Y or
- number:X:Y
Returns a random number between X and Y (inclusive), with the default values of X = 0, Y = 999999999.
TODO consider moving this downwards to make it available for the rest of midPoint (not only to config.xml parsing).
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
RandomLookup
public RandomLookup()
-
-
Method Details
-
lookup
- Specified by:
lookup
in interfaceorg.apache.commons.configuration2.interpol.Lookup
-