Class MatchFunctionTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.matching.MatchFunctionTemplate
This template class may be used to initialize a match function.
- Since:
- 6.2
- Author:
- O. Kerpershoek, F. van der Meer
-
Constructor Summary
ConstructorsConstructorDescriptionMatchFunctionTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, String name, String typeName) Constructs the template with the required arguments.MatchFunctionTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, String name, String typeName, Map<String, Object> parameters) Constructs the template with the required arguments. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getName()
This method returns the map containing the parameters for the match function.protected String
com.aquima.interactions.matching.ds.IMatchFunctionDS
This method converts the template to a data source that can be used to initialize the match function.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
MatchFunctionTemplate
public MatchFunctionTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String name, String typeName) Constructs the template with the required arguments.- Parameters:
report
- The initialization report that should be used to add error snd warnings to.name
- The name of the match function.typeName
- The type of the match function
-
MatchFunctionTemplate
public MatchFunctionTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String name, String typeName, Map<String, Object> parameters) Constructs the template with the required arguments.- Parameters:
report
- The initialization report that should be used to add error snd warnings to.name
- The name of the match function.typeName
- The type of the match functionparameters
- Map containing the parameters for the match function.
-
-
Method Details
-
getName
-
getTypeName
-
getParameters
This method returns the map containing the parameters for the match function. The returned map may be used to add additional parameters to the match function.- Returns:
- the map containing the parameters for the match function.
-
toDataSource
public com.aquima.interactions.matching.ds.IMatchFunctionDS toDataSource()This method converts the template to a data source that can be used to initialize the match function.- Returns:
- a data source that can be used to initialize the match function.
-