Class 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).
    • Constructor Detail

      • RandomLookup

        public RandomLookup()
    • Method Detail

      • lookup

        public Object lookup​(String variable)
        Specified by:
        lookup in interface org.apache.commons.configuration2.interpol.Lookup