Class MatchFunctionTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.matching.MatchFunctionTemplate

public class MatchFunctionTemplate extends AbstractReportingTemplate
This template class may be used to initialize a match function.
Since:
6.2
Author:
O. Kerpershoek, F. van der Meer
  • 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 function
      parameters - Map containing the parameters for the match function.
  • Method Details

    • getName

      protected String getName()
    • getTypeName

      protected String getTypeName()
    • getParameters

      public Map<String,Object> 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.