Class ConfigPropertiesCascadeUtils

java.lang.Object
edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeCommonUtils
edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeUtils

public class ConfigPropertiesCascadeUtils extends ConfigPropertiesCascadeCommonUtils
utility methods specific to grouper client
  • Constructor Details

    • ConfigPropertiesCascadeUtils

      public ConfigPropertiesCascadeUtils()
  • Method Details

    • substituteExpressionLanguage

      public static String substituteExpressionLanguage(String stringToParse, Map<String,Object> variableMap)
      substitute an EL for objects. Dont worry if something returns null
      Parameters:
      stringToParse -
      variableMap -
      Returns:
      the string
    • substituteExpressionLanguage

      public static String substituteExpressionLanguage(String stringToParse, Map<String,Object> variableMap, boolean allowStaticClasses, boolean silent, boolean lenient, boolean logOnNull)
      substitute an EL for objects
      Parameters:
      stringToParse -
      variableMap -
      allowStaticClasses - if true allow static classes not registered with context
      silent - if silent mode, swallow exceptions (warn), and dont warn when variable not found
      lenient - false if undefined variables should throw an exception. if lenient is true (default) then undefined variables are null
      logOnNull - if null output of substitution should be logged
      Returns:
      the string