Class ParamRefTools
- java.lang.Object
-
- de.aristaflow.adept2.core.eventmanager.common.ParamRefTools
-
public class ParamRefTools extends Object
Various tool methods for processing events.- Author:
- Ulrich Kreher
-
-
Constructor Summary
Constructors Constructor Description ParamRefTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
replaceParams(String rawString, InputDataContext dataContext)
Replaces all parameter references in the designated string with the corresponding input parameter values from the data context.
-
-
-
Method Detail
-
replaceParams
public static String replaceParams(String rawString, InputDataContext dataContext) throws ConfigurationException
Replaces all parameter references in the designated string with the corresponding input parameter values from the data context.- Parameters:
rawString
- The raw string containing parameter references to be replaced.dataContext
- The data context to retrieve the parameter values from.- Returns:
- The string which has the parameter references replaced to be used for the mail event data source.
- Throws:
ConfigurationException
- If a parameter in the raw string cannot be replaced with the designated data context, aConfigurationException
will be thrown.
-
-