Class ParamRefTools
java.lang.Object
de.aristaflow.adept2.core.eventmanager.common.ParamRefTools
Various tool methods for processing events.
- Author:
- Ulrich Kreher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringreplaceParams(String rawString, InputDataContext dataContext) Replaces all parameter references in the designated string with the corresponding input parameter values from the data context.
-
Constructor Details
-
ParamRefTools
public ParamRefTools()
-
-
Method Details
-
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, aConfigurationExceptionwill be thrown.
-