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 Details

  • Constructor Details

    • RandomLookup

      public RandomLookup()
  • Method Details

    • lookup

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