Class ParameterStrLookup

java.lang.Object
org.apache.commons.lang.text.StrLookup
org.kuali.rice.core.api.config.property.ConfigStrLookup
org.kuali.rice.kew.util.ParameterStrLookup

public class ParameterStrLookup extends org.kuali.rice.core.api.config.property.ConfigStrLookup
Uses the KEW runtime parameters to locate a string for replacement, falling back to the deploy time configuration variables if necessary.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a string locator to search for KEW runtime parameters for any applicationId.
    ParameterStrLookup(String applicationId)
    Creates a string locator to search for KEW runtime parameters for a specific applicationId.
  • Method Summary

    Modifier and Type
    Method
    Description
    lookup(String propertyName)

    Methods inherited from class org.apache.commons.lang.text.StrLookup

    mapLookup, noneLookup, systemPropertiesLookup

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ParameterStrLookup

      public ParameterStrLookup()
      Creates a string locator to search for KEW runtime parameters for any applicationId.
    • ParameterStrLookup

      public ParameterStrLookup(String applicationId)
      Creates a string locator to search for KEW runtime parameters for a specific applicationId.
      Parameters:
      applicationId - the application to search for the KEW runtime parameter in.
  • Method Details

    • lookup

      public String lookup(String propertyName)
      Overrides:
      lookup in class org.kuali.rice.core.api.config.property.ConfigStrLookup